Commit Graph

134 Commits

Author SHA1 Message Date
Haoqun Jiang
bd9442b092 chore: merge branch 'next' into dev 2019-09-25 01:28:55 +08:00
vahdet
3f5f438f7e Edited Dockerfile of Docker(Nginx) deployment doc (#4561)
* Edited Dockerfile of Docker(Nginx) deployment doc

Edited `Dockerfile` section of https://cli.vuejs.org/guide/deployment.html#docker-nginx

As shown in [Vue v2 cookbook](https://vuejs.org/v2/cookbook/dockerize-vuejs-app.html) copying `package*.json` initially and running `npm install` in a separate step allows caching and reduces time elapsed during Docker build. Also the difference between the two docs will be reduced and be less confusing to those who end up with both of them.

* node version to latest

(cherry picked from commit 69f7145b02)
2019-09-25 01:25:47 +08:00
Owan Hunte
dcd2a850b8 Documentation typo fixes (#4500)
* Minor typo fix for CLI Service docs page

In the last paragraph of the CLI Service docs page the second instance of the word 'need' should be changed to 'needs'.

* Typo fix to 'HTML and Static Assets' docs page

(cherry picked from commit b20e27ad12)
2019-09-25 01:25:09 +08:00
Haoqun Jiang
cc06091d8c docs: fix syntax highlighting 2019-09-23 17:11:07 +08:00
Haoqun Jiang
af17a9b49f feat: support sass-loader v8 2019-09-09 17:23:21 +08:00
Haoqun Jiang
79affdc82d chore: merge branch 'next' into dev 2019-08-21 17:32:45 +08:00
Thorsten Lünborg
fba2ad0606 feat: --skip-plugins (#4448)
Allow skipping of plugins  from command line

close #4262
close #3830
2019-08-21 15:38:01 +08:00
Roman Pavlov
86f4f5fceb feat(build): add --inline-vue flag to optionally disable externalization of Vue (#4261)
Resolves #4055.
2019-08-19 21:05:46 +08:00
Daniel Luz
94b07fb8b2 Update npx repository URL. (#4431) 2019-08-15 09:49:30 +02:00
Haoqun Jiang
aae827a108 docs: remove version (3.x) reference in docs 2019-08-13 21:03:06 +08:00
Kid
4cfa70421e docs: update Now deployment guide (#4395) 2019-08-07 10:45:53 +03:00
Haoqun Jiang
e9fd9a716c feat!: deprecate css.modules in favor of css.requireModuleExtension (#4387)
closes #4376

Since css-loader v3, custom CSS Modules configurations are under the
`modules` field. So when a user customizes these configurations, the `modules`
feature is automatically enabled for all css files.
So we must require the user's explicit consensus or disagreement on whether
these rules apply to all CSS files or not.
2019-08-02 21:14:39 +08:00
Haoqun Jiang
930b4596b1 feat: allow configuring scss options separately from sass (#4386)
closes #4116
2019-08-02 19:45:12 +08:00
Mohsen Sadeghzade
8492055a7f Update mode-and-env.md (#4257)
* Update mode-and-env.md

Fixed example of keys, which they should start with VUE_APP_

* Update mode-and-env.md

change position of the tip

* Update docs/guide/mode-and-env.md

Co-Authored-By: Natalia Tepluhina <NataliaTepluhina@users.noreply.github.com>
(cherry picked from commit 149b307f72)
2019-07-30 00:21:15 +08:00
Haoqun Jiang
a8df1df26c fix: fix css.loaderOptions.css.modules default values (#4363)
fixes #4357
2019-07-29 22:20:53 +08:00
Boris K
59d3e74f33 feat: add --port argument to 'vue serve' command (#4342) 2019-07-25 09:57:00 +08:00
mx
45399b192a Explain when .env files are loaded. (#4171)
It appears that .env files are only loaded at the start of `vue-cli-service` and are not watched for hot reloads.
**I am actually not sure this is the case for everyone, but is so for me.**

I think it is worth noting because the expectation is that a file at the root of the project would be watched for hot reloads.

(cherry picked from commit b22bedbf94)
2019-07-18 16:58:40 +08:00
Ivan Sieder
c6cab262e6 Updated for Zeit Now V2 (#4232)
* Updated for Zeit Now V2

* Fixed styling issue

* Added additional hint for router mode set to history

* Update docs/guide/deployment.md

Co-Authored-By: Natalia Tepluhina <NataliaTepluhina@users.noreply.github.com>
(cherry picked from commit 55dc287936)
2019-07-18 16:58:40 +08:00
Richard Patel
d0979727d8 deployment.md: Add instructions for Travis CI (#4103)
* deployment.md: Add instructions for Travis CI

* deployment.md: Same section for GitHub Pages

(cherry picked from commit 9c8c5ba91a)
2019-07-06 18:36:55 +08:00
Haoqun Jiang
8b8bb99316 feat: allow omitting scope prefix for official plugins on vue add (#4219) 2019-07-06 17:09:38 +08:00
Pavan Kumar Sunkara
362587a966 feat!: make vuex a separate plugin (#4242)
fixes #2335, #4024
2019-07-06 15:13:09 +08:00
Min ho Kim
c0aa2bb310 Fix typos (#4241) 2019-07-06 07:09:29 +03:00
Pavan Kumar Sunkara
246ae678cb feat!: make router a separate plugin (#4196)
* refactor: move router to its own plugin

* refactor: rename routerHistoryMode option to historyMode

* test: add @vue/cli-plugin-router tests

* feat: change src/router.js for most common use cases

* fix: fix cli-ui tests

* docs: Remove router root option from docs

* fix: add support for legacy router option
2019-07-05 23:21:29 +08:00
Anurag Goel
ebdcac32d4 docs: add Render deployment guide (#4217)
* docs: add Render deployment guide

* Update docs/guide/deployment.md

Co-Authored-By: Natalia Tepluhina <NataliaTepluhina@users.noreply.github.com>
2019-07-02 19:07:18 +03:00
aruseni
80e5d7ff36 Correct HTML and Static Assets (#4192)
* Correct HTML and Static Assets

* Update docs/guide/html-and-static-assets.md

Co-Authored-By: Natalia Tepluhina <NataliaTepluhina@users.noreply.github.com>
2019-06-24 12:09:40 +03:00
ziga
323acc915e Add heroku deployment guide (#3777)
* Add heroku deployment description

* Link to heroku CLI article

Also split instructions into steps

* Use heroku org buildpack link

Co-Authored-By: Natalia Tepluhina <NataliaTepluhina@users.noreply.github.com>

* Update docs/guide/deployment.md

Co-Authored-By: Natalia Tepluhina <NataliaTepluhina@users.noreply.github.com>
2019-06-23 09:48:58 +03:00
Thorsten Lünborg
09ce29f720 docs: mention caveat about missing plugins when in legacy config (#3857)
* docs: mention caveat about missing plugins
when in legacy config
close #3845

* Update browser-compatibility.md
2019-06-22 13:19:54 +03:00
Haoqun Jiang
578134016b chore: merge branch 'dev' into docs [ci skip] 2019-04-14 00:41:50 +08:00
Florian Polster
9003f3c6d3 docs: mention admin privileges as a install requirement (#3708) [ci skip] 2019-04-09 00:46:30 +08:00
Haoqun Jiang
2e20b7aef4 feat: bundle currentScript polyfill by default if library needs IE support (#3760) 2019-04-08 19:48:19 +08:00
Haoqun Jiang
09964a00f8 feat: make fibers opt-in for dart sass (#3628)
fixes #3429
fixes #3570
fixes #3624
2019-04-01 19:32:05 +08:00
bengallienne
fceede1ee0 docs: add notes for multi-page apps on references to 'prefetch' plugin (#3444) 2019-03-20 14:05:15 +08:00
J Bruni
a1b784fe7d docs: fix grammar in css.md (#3598) [ci skip] 2019-03-17 02:11:16 +08:00
J Bruni
8d5d854925 docs: fix typo in troubleshooting.md (#3599) [ci skip] 2019-03-09 14:56:15 +08:00
Haoqun Jiang
b2d6dbdd0c chore: merge branch 'dev' into docs 2019-03-09 12:48:29 +08:00
Vi Pro
4c91f8dd5c docs(css): sass import path (#3569) [ci skip]
path should start with `~` because of css-loader url()
2019-03-06 15:03:38 +08:00
Haoqun Jiang
bd57f15a15 feat: support environment variable expansion (#3534) 2019-02-28 15:04:46 +08:00
Jonas
fec38f5541 fix(cli-service): catch exception if "copy to clipboard" fails (issue #3476) (#3503)
close #3476
2019-02-26 23:53:13 +08:00
cregetycreg
8db62376a5 docs: add docker based nginx deployment guide (#3323) 2019-02-25 17:31:19 +08:00
Haoqun Jiang
9ea88af113 docs: add an introductory paragraph to troubleshooting.md [ci skip] 2019-02-22 22:28:22 +08:00
Haoqun Jiang
61a58554a6 docs: add a troubleshooting page for common issues (#3479) 2019-02-22 22:16:41 +08:00
ruanhaojian
0003b5d1e4 docs: add self-hosted repos example for remote presets. (#3494) 2019-02-22 16:56:58 +08:00
Haoqun Jiang
c078633be1 chore: merge branch 'dev' into docs 2019-02-20 16:54:46 +08:00
Haoqun Jiang
3195287d10 docs: revert misleading warnings on NODE_ENV 2019-02-18 22:01:53 +08:00
Haoqun Jiang
225b558935 refactor: use dotenv to parse env file and add a link to its docs (#3462) 2019-02-18 14:44:12 +08:00
+v
ab008c5191 docs: add a warning on running vue-cli-service serve [entry] in a multi-page setup (#3404) 2019-02-17 13:50:07 +08:00
Jost Schulte
85c31cf79c docs: extend mode and env vars guide (#2657) [ci skip] 2019-02-16 12:15:55 +08:00
Haoqun Jiang
43bee4ee22 docs: change references of "Vue CLI 3" to "Vue CLI" (#3422) [ci skip] 2019-02-08 20:47:43 +08:00
Ben Potter
8568232600 docs: add documentation for --formats to the build options section (#3386) [ci skip]
Pull #2583 added --formats to the cli build commands but did not add documentation to the guide for the flag
2019-01-30 01:55:33 +08:00
Jon Stephenson
3a1b1d8898 docs: update text on cli-service.md (#3360) [ci skip]
Changed word allows from 3rd person present.
2019-01-24 13:28:27 +08:00