Skip to content

Commit

Permalink
docs: update migration guide [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
haoqunjiang committed Jun 9, 2021
1 parent da2c715 commit 55bc7d4
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions docs/migrations/migrate-from-v4.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,27 @@ sidebar: auto
First, install the latest Vue CLI globally:

```sh
npm install -g @vue/cli
npm install -g @vue/cli@next
# OR
yarn global add @vue/cli
yarn global add @vue/cli@next
```

## Upgrade All Plugins at Once

In your existing projects, run:

```sh
vue upgrade
vue upgrade --next
```

And then follow the command line instructions.

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

::: tip Note
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.
:::

------

## One-By-One Manual Migration
Expand Down

0 comments on commit 55bc7d4

Please sign in to comment.