Skip to content

Commit 55bc7d4

Browse files
committed
docs: update migration guide [skip ci]
1 parent da2c715 commit 55bc7d4

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

docs/migrations/migrate-from-v4.md

+7-3
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,27 @@ sidebar: auto
77
First, install the latest Vue CLI globally:
88

99
```sh
10-
npm install -g @vue/cli
10+
npm install -g @vue/cli@next
1111
# OR
12-
yarn global add @vue/cli
12+
yarn global add @vue/cli@next
1313
```
1414

1515
## Upgrade All Plugins at Once
1616

1717
In your existing projects, run:
1818

1919
```sh
20-
vue upgrade
20+
vue upgrade --next
2121
```
2222

2323
And then follow the command line instructions.
2424

2525
See the following section for detailed breaking changes introduced in each package.
2626

27+
::: tip Note
28+
If you see errors like `setup compilation vue-loader-plugin(node:44156) UnhandledPromiseRejectionWarning: TypeError: The 'compilation' argument must be an instance of Compilation` after upgrading, please remove the lockfile (`yarn.lock` or `package-lock.json`) and `node_modules` in the project and reinstall all the dependencies.
29+
:::
30+
2731
------
2832

2933
## One-By-One Manual Migration

0 commit comments

Comments
 (0)