Commit Graph

389 Commits

Author SHA1 Message Date
Haoqun Jiang
357c99a3fb chore: merge branch 'master' into dev 2019-11-27 00:03:10 +08:00
Jose G. Alfonso
f83c44113f Update doc section on Git Hooks (#4820)
Added complete required entries for lint-staged to work
2019-11-21 10:33:38 +02:00
Haoqun Jiang
e46ac20784 docs: add warnings on css sideEffects (#4836)
These warnings are originally stated in the vue-loader documentation,
but the CLI documentation perhaps have more visibility.

Fixes #4832
2019-11-21 10:33:02 +02:00
文翰弟
f9291581e8 docs(zh): Update browser-compatibility.md (#4831) 2019-11-11 19:16:21 +08:00
gregoiredx
d4bd9c644f use gitlab CI env variable for project name (#4716)
* use gitlab CI env variable for project name

* add explanation on CI_PROJECT_NAME env var

* docs: gzip support in GitLab Pages
2019-11-07 07:17:48 +02:00
Haoqun Jiang
1e663df1ca feat(GeneratorAPI): accept multiple arguments for the resolve method (#4715)
* feat(GeneratorAPI): accept multiple arguments for the resolve method

To make its signature conform to  the standard `path.resolve`, avoid
confusions.

There's already a bug in the downstream plugin that was caused by such
confusion: a742953b83/generator/index.js (L163-L171)

* docs: update descriptions of the `resolve` api [ci skip]
2019-11-07 10:29:06 +08:00
Yoshiaki Itakura
77384eced8 fix docs css.loaderOptions.css.localsConvention (#4803)
Moved 'localsConvention' to the same level as 'modules'.
2019-11-06 22:14:28 +08:00
Guillaume Chau
698c0d63a7 docs: add 'Browse plugins' link to header (#4760) 2019-11-01 16:53:25 +08:00
arnaudvalle
6347fd2660 docs: specify default entryFile value for serve command (#4758) 2019-10-26 10:54:30 +03:00
Sean G. Wright
ae111393f2 Update migrating-from-v3 README typo (#4746)
Changed `--sav-dev` to `--save-dev`
2019-10-25 16:04:27 +08:00
Mulia Nasution
2cdb50c802 Fix indentation of --inline-vue description (#4733) 2019-10-21 20:13:48 +08:00
Marco Pöhler
48dd88affa docs: added instructions for yarn (#4706) [ci skip] 2019-10-18 14:16:37 +08:00
Philipp Gildein
0d75de6c51 Fix link to eslint PR (#4702) 2019-10-17 19:23:39 +08:00
Haoqun Jiang
15c86f0f9b docs: preparing v4 stable release [ci skip] 2019-10-16 19:13:47 +08:00
Haoqun Jiang
2601fece02 docs: add notes about vue --version output format [ci skip] 2019-10-16 14:36:33 +08:00
Haoqun Jiang
28fd1db9d0 chore: merge branch 'next' into dev 2019-10-16 14:15:09 +08:00
Haoqun Jiang
469d3d8825 docs: migration guide from v3 to v4 (#4552) [ci skip]
* docs: [wip] migration guide from v3 to v4

* docs: migration -> migrating

* docs: `--all` is not required

* docs: add more content

* docs: fix typo [ci skip]

* docs: fix jest changelog link [ci skip]

* docs: elaborate on babel plugin changes

* docs: elaborate on the less-loader version issue

* docs: finish eslint changelog [ci skip]

* docs: more on webpack configs [ci skip]

* docs: move migrating-to-v3 to first-level nav

* docs: elaborate on css-loader changes [ci skip]

* docs: finish nightwatch guide [ci skip]

* docs: link to workbox v4 release notes [ci skip]

* docs: [wip] detailed explanation on vue.config.js

* docs: add examples for terser; add router & vuex directory change

* docs: mention `api.hasPlugin('vue-router')` [ci skip]

* docs: add subtitles [ci skip]

* docs: update descriptions to reflect rc.8 changes

* docs: some grammar corrections [ci skip]

* docs: add whitespace handling changes [ci skip]

* docs: @4 -> @next [ci skip]

* docs: blank lines [ci skip]

* Update docs/migrating-from-v3/README.md

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

* Update docs/migrating-from-v3/README.md

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

* Update docs/migrating-from-v3/README.md

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

* Update docs/migrating-from-v3/README.md

Co-Authored-By: Natalia Tepluhina <NataliaTepluhina@users.noreply.github.com>
2019-10-15 20:24:34 +08:00
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