Commit Graph

372 Commits

Author SHA1 Message Date
René Eschke c76091075f missing documentation for building with vuex (#2319)
I really needed this tip and luckily got it from this awesome community in a github issue.
This definitely needs to be in the docs aswell:
https://github.com/vuejs/vue-cli/issues/2304#issuecomment-414702510
2019-10-11 22:18:43 +02:00
Haoqun Jiang 5cce80c2f7 v4.0.0-rc.8 2019-10-11 16:11:02 +08:00
Haoqun Jiang 7813ca9e73 chore: update sponsors (#4656)
(cherry picked from commit 4f4aae2420)
2019-10-08 13:25:37 +08:00
Thorsten Lünborg c101afbd71 docs(cli-service): Clarify object options for css.extract (#4402) [ci skip]
Link to mini-css-extract-plugin so users can check
what kind of options they can provide.

close #4401

(cherry picked from commit 5dfea8134f)
2019-10-08 13:25:30 +08:00
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
Kid 3da900813d docs: update Chinese translation of Deployment (#4486) [ci skip]
Co-Authored-By: GU Yiling <justice360@gmail.com>
(cherry picked from commit 9c99ce2be6)
2019-09-25 01:25:37 +08:00
vimvinter ba97068bb3 docs(zh): update build-targets.md (#4505) [ci skip]
(cherry picked from commit c730b76f43)
2019-09-25 01:25:26 +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
Natalia Tepluhina cc9dba64a7 docs: fixed vuepress link to next branch (#4604) 2019-09-22 13:23:30 +08:00
Haoqun Jiang 863d6bbfbf v4.0.0-rc.3 2019-09-10 00:05:39 +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
Daniel Waltz 7c28559ccf Update parallel config description (#4420) 2019-08-12 09:29:25 +03: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
Sergey Morkovkin 5d0eb9fa89 docs(ru): update html-and-static-assets.md (#4333)
(cherry picked from commit 4eeb3720d7)
2019-07-30 00:21:21 +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
Haoqun Jiang fc3e0a30b5 chore: plugins should list @vue/cli-service in peerDependencies (#4365) 2019-07-29 10:45:12 +08:00
Domenico Gemoli fd4573aadf docs: replacing nightwatch CLI options URL with proper documentation (#4364) 2019-07-28 20:44:06 +08:00
Eduard Aksamitov d6507e6f84 docs(ru): fix link in webpack.md (#4358) 2019-07-28 20:41:31 +08:00
Boris K 59d3e74f33 feat: add --port argument to 'vue serve' command (#4342) 2019-07-25 09:57:00 +08:00
Pavan Kumar Sunkara 544faee81e feat: more flexible hook system for generators (#2337) 2019-07-21 19:59:18 +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
Max Tolkachev c4daac6c12 docs(ru): vue-cli docs / html-and-static-assets typo updated (#4270) [ci skip]
(cherry picked from commit 55ce077d27)
2019-07-18 16:58:40 +08:00
Max Tolkachev a920ce2b98 docs(ru): vue-cli docs / browser-compatibility typo updates (#4269) [ci skip]
(cherry picked from commit 2d767fc201)
2019-07-18 16:58:40 +08:00
Max Tolkachev 328d1bba24 docs(ru): vue-cli docs / cli-service typo updated (#4268) [ci skip]
(cherry picked from commit e01aaedd4c)
2019-07-18 16:58:40 +08:00
Max Tolkachev cce497cf3b docs(ru): vue-cli docs / creating-a-project text updated (#4266) [ci skip]
(cherry picked from commit 0401da3fdf)
2019-07-18 16:57:47 +08:00
Max Tolkachev 0273dc1c28 docs(ru): vue-cli/guide typo updated (#4265) [ci skip]
(cherry picked from commit e20b33bc21)
2019-07-18 16:57:46 +08:00
Max Tolkachev c66431f0c4 vue-cli docs / plugins-and-presets typo updated
(cherry picked from commit c909a52bd9)
2019-07-18 16:57:46 +08:00
Bogdan Luca 9be9b6c4cd docs(proxy): add warning when proxy set as string (fix #3308) (#3320) 2019-07-10 10:33:35 +03:00
Haoqun Jiang bd82649a64 v4.0.0-alpha.4 2019-07-06 19:51:01 +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
Haoqun Jiang 77092b2223 feat: implement version-related APIs for GeneratorAPI (#4000)
closes #2336
2019-06-26 18:25:21 +08: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