Commit Graph

86 Commits

Author SHA1 Message Date
Killer_Quinn aa85cb0119 feat: update npm.taobao.org to npmmirror.com (#6824) 2021-11-09 16:27:19 +08:00
Haoqun Jiang e40f06212b docs: replace vuepress with vitepress (#6821) 2021-11-09 16:06:01 +08:00
Haoqun Jiang 9eef87799e feat!: remove url-loader and file-loader in favor of asset modules (#6771) 2021-10-23 09:54:46 +08:00
Andy Do 82075ce7a4 docs(zh): update deployment.md (#6487) 2021-06-03 21:17:44 +08:00
Haoqun Jiang 0aa8a55189 feat!: always inject safari-nomodule-fix as an external script; drop --no-unsafe-inline flag (#6422) 2021-04-16 19:23:21 +08:00
Binwei Fang b9e2f70f07 fix(cli-service): avoiding recreating dist directory (#6221) 2021-01-25 16:20:17 +08:00
JiZhi 6f3fc16431 docs: mode-and-env doc need be updated (#6050) 2020-12-17 16:11:24 +08:00
Haoqun Jiang 2814c428fa chore: Merge branch 'master' into dev 2020-12-14 23:01:48 +08:00
Haoqun Jiang eee082d331 feat: bump lint-staged to v10 (#6136) 2020-12-11 14:37:25 +08:00
Haoqun Jiang 49052f49ff docs: don't add .loader() when modifying vue-loader options [skip ci] (#6128)
See the reasoning at https://github.com/Akryum/vue-cli-plugin-apollo/pull/463
2020-12-09 14:30:35 +08:00
Neil Guo 75533f1dbf doc(zh): add entry default value (#6073) [skip ci]
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
2020-12-08 11:47:09 +08:00
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
Yazhe Wang 38234ef74c docs: additionalData option for sass-loader 9.0 (#5673) [ci skip] 2020-07-13 16:21:07 +08:00
good luck d1a42488b3 docs(zh): additionalData example for sass-loader 9.0 (#5668) 2020-07-10 10:06:35 +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
xiaohp a9cd7838de docs(zh): update css.md (#5349) [ci skip] 2020-05-06 17:04:15 +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
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
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