Commit Graph

102 Commits

Author SHA1 Message Date
Pablion d7ac62575c docs(zh): in build-targets.md add "using vuex" (#5883) [skip ci] 2020-09-24 20:41:21 +08:00
Haoqun Jiang 468986b2c1 docs: remove mention of Node.js v8 npm workaround, as it's been fixed [skip ci] 2020-09-23 13:42:12 +08:00
Tyler 94f6e89512 docs(zh): update plugins-and-presets.md (#5844) [ci skip]
中文文档与英文文档同步
2020-09-04 15:42:12 +08:00
ʀᴀʏ e4e5926ec6 docs: change zeit to vercel (#5807) [ci skip]
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
2020-08-28 13:44:12 +08:00
Haoqun Jiang d9d191f416 docs: update Node version requirement to address package manager issues (#5811) [ci skip]
It's recommended to use NPM v6 with Node.js v8, because:

1. Some of the upstream packages may accidentally introduce dependencies
that require Node.js 10+ in the `engines` field. This only leads to a
warning in NPM but will break Yarn.

2. NPM v5 does not support dependency versions starting with `npm:`,
so it can't support Vue 3 related features in Vue CLI.
2020-08-24 15:52:19 +08:00
Booker Zhao 865fdd2e5b docs: update cloudbase deploy doc (#5810) 2020-08-22 12:15:39 +08:00
Booker Zhao b1223fa65f docs: update cloudbase deploy doc (#5805) 2020-08-19 10:51:19 -04:00
Booker Zhao 544e054705 docs: add cloudbase deploy doc (#5741) 2020-08-03 11:17:23 -04:00
Ray e377024efe docs: fix a wrong anchor (#5674) [ci skip]
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
2020-07-13 21:16:49 +08:00
Yazhe Wang 38234ef74c docs: additionalData option for sass-loader 9.0 (#5673) [ci skip] 2020-07-13 16:21:07 +08:00
vimvinter e5cf1a2e37 docs(zh): change line to lines in plugin-dev.md (#5671)
Co-authored-by: zhouxinyong[周新勇] <zhouxinyong@xiaomi.com>
2020-07-11 12:31:43 +08:00
good luck d1a42488b3 docs(zh): additionalData example for sass-loader 9.0 (#5668) 2020-07-10 10:06:35 +08:00
FM 49bf36fcea docs(zh): fix the link to the plugin-api page (#5658) [ci skip] 2020-07-07 20:31:25 +08:00
Haoqun Jiang f6e9b9469f docs: @babel-preset/env -> @babel/preset-env (#5603)
closes #5475

Thank @ucev for spotting this.
2020-06-24 10:35:19 +08:00
小新 dc2456ed29 docs: translate plugin-dev (#5345) [ci skip]
* docs: translate plugin-dev

* update 部分语法调整

* Update docs/zh/dev-guide/plugin-dev.md

* Update docs/zh/dev-guide/plugin-dev.md

* Update docs/zh/dev-guide/plugin-dev.md

Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
2020-06-22 10:50:10 +08:00
liuye11 893611dad2 docs: update default value of lintOnSave option (#5563) [ci skip]
closes #5100
2020-06-10 15:45:20 +08:00
xiaohp a9cd7838de docs(zh): update css.md (#5349) [ci skip] 2020-05-06 17:04:15 +08:00
Jinzhan 930af5f348 docs(zh): update ui-api.md (#5378) [ci skip] 2020-05-06 16:11:16 +08:00
Allen Zhu ca24553983 docs(zh): fix the translation of scaffold (#5443) [ci skip] 2020-05-06 15:56:30 +08:00
Akenokoru 2cfb9bb6ce docs(zh): update cli-service.md (#5300)
Fix warning part description.
2020-03-23 14:35:13 +08:00
Haoqun Jiang a66fee6386 docs: update polyfill names according to core-js 3 (#5282) 2020-03-19 21:25:39 +08:00
Haoqun Jiang a6c35cd881 chore: merge branch 'dev' 2020-02-27 18:18:50 +08:00
derline c39eb72ce2 docs(zh): fix typo in mode-and-env.md (#5224) 2020-02-26 23:23:25 +08:00
defead b08c10fbcd docs(zh): update example format (#5209) 2020-02-24 15:08:19 +08:00
Xiao Haiping efbc20c676 docs(zh): Update now 404 url (#5141)
ref to en docs
2020-02-17 15:22:18 +08:00
茂茂 601bf34310 docs(zh): fix typos (#5157) 2020-02-11 20:46:52 +08:00
Frank Fang 9e18f3c01d Add a demo for multiple loader (#5122)
English version already merged https://github.com/vuejs/vue-cli/pull/5076/files
2020-01-30 22:01:31 +08:00
小新 771182ebbc docs(zh): update polyfill import according to core-js 3 docs
* vue-cli@4 use core.js@^3.4.3

when use core.js@^3.4.3, you should use ```import "core-js/stable";import "regenerator-runtime/runtime";```
[this is an doc about core.js@3](https://github.com/zloirock/core-js/blob/master/docs/2019-03-19-core-js-3-babel-and-a-look-into-the-future.md#babelpolyfill)

* add space

* use single quote to keep the code style consistent

Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
2020-01-28 16:52:37 +08:00
defead 5edafc09fa line 477 according to english version (#5081)
'@vue/babel-preset-env' to '@vue/babel-preset-app'
2020-01-14 19:08:10 +02:00
ntnyq e8fb3d98e8 docs(zh): Sync Chinese translation (#5051) [ci skip] 2020-01-09 22:20:39 +08:00
Xin Tan 74d801e61f Updated zh-cn translation in cli section (#5019)
* UPDATDED: translation in simplified Chinese for 'yorkie' and 'husky' in warning

* UPDATED: add missing code snippits in EN doc
2020-01-09 22:20:32 +08:00
Xin Tan f14b2da973 docs: update zh-cn translation in config lintOnSave section (#5031) [ci skip]
* 修正lintOnSave的默认type类型

* 修正lint编译错误时新增warning类型

* 修正md内字符串需要引号

* trim line ending space
2020-01-09 22:19:18 +08: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
Haoqun Jiang 7813ca9e73 chore: update sponsors (#4656)
(cherry picked from commit 4f4aae2420)
2019-10-08 13:25:37 +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
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
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
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
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
678 0d7908bc4a docs(zh): fix typo in deployment.md (#3827) [ci skip] 2019-04-18 22:57:58 +08:00
Haoqun Jiang 7916bb67f9 docs(zh/ru): fix sass import path
follow up of #3569
closes #3783
2019-04-09 19:45:33 +08:00
Haoqun Jiang c078633be1 chore: merge branch 'dev' into docs 2019-02-20 16:54:46 +08:00