You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/migrating-from-v3/README.md
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -7,15 +7,15 @@ sidebar: auto
7
7
First, install the latest Vue CLI globally:
8
8
9
9
```sh
10
-
npm install -g @vue/cli@next
10
+
npm install -g @vue/cli
11
11
```
12
12
13
13
## Upgrade All Plugins at Once
14
14
15
15
In your existing projects, run:
16
16
17
17
```sh
18
-
vue upgrade --next
18
+
vue upgrade
19
19
```
20
20
21
21
And then see the following section for detailed breaking changes introduced in each package.
@@ -185,11 +185,11 @@ The babel plugin requires a peer dependency, for the polyfills used in the trans
185
185
186
186
In Vue CLI v3, the required `core-js` version is 2.x, it is now upgraded to 3.x.
187
187
188
-
This migration is automated if you upgrade it through `vue upgrade babel --next`. But if you have custom polyfills introduced, you may need to manually update the polyfill names (For more details, see [core-js changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md#L279-L297)).
188
+
This migration is automated if you upgrade it through `vue upgrade babel`. But if you have custom polyfills introduced, you may need to manually update the polyfill names (For more details, see [core-js changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md#L279-L297)).
189
189
190
190
#### Babel Preset
191
191
192
-
This migration is also automated if you upgrade it through `vue upgrade babel --next`.
192
+
This migration is also automated if you upgrade it through `vue upgrade babel`.
193
193
194
194
- In v3, the default babel preset used in `babel.config.js` is `@vue/app`.
195
195
- In v4, we moved it to the plugin, so now it's named as `@vue/cli-plugin-babel/preset`
@@ -207,7 +207,7 @@ This plugin now [requires ESLint as a peer dependency]((https://github.com/vuejs
207
207
208
208
This won't affect projects scaffolded with Vue CLI 3.1 or later.
209
209
210
-
If your project was scaffolded with Vue CLI 3.0.x or earlier, you may need to add `eslint@4` to your project dependencies (This is automated if you upgrade the plugin using `vue upgrade eslint --next`).
210
+
If your project was scaffolded with Vue CLI 3.0.x or earlier, you may need to add `eslint@4` to your project dependencies (This is automated if you upgrade the plugin using `vue upgrade eslint`).
211
211
212
212
It's also recommended to upgrade your ESLint to v5, and ESLint config versions to the latest. (ESLint v6 support is still on the way)
0 commit comments