sidebar |
---|
auto |
First, install the latest Vue CLI globally:
npm install -g @vue/cli
# OR
yarn global add @vue/cli
In your existing projects, run:
vue upgrade
And then follow the command line instructions.
See the following section for detailed breaking changes introduced in each package.
If you want to migrate manually and gradually, you can run vue upgrade <the-plugin-name>
to upgrade a specific Vue CLI plugin.
- Drop support of Node.js 8, 11, 13
eslint-loader
is upgraded from v2 to v4. The only major change is that it dropped support for ESLint < v6.
- Dropped TSLint support. As TSLint has been deprecated, we removed all TSLint-related code in this version.
Please consider switching to ESLint. You can check out
tslint-to-eslint-config
for a mostly automatic migration experience. - Updated
fork-ts-checker-webpack-plugin
from v3.x to v5.x, you can see the detailed breaking changes at https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/releases/tag/v4.0.0 and https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/releases/tag/v5.0.0
- Cypress is updated from v3 to v5. See https://docs.cypress.io/guides/references/migration-guide.html for a detailed migration guide.
- Updated
mocha
from v6 to v7, please refer to the release notes of mocha v7 for a complete list of breaking changes. - Updated
jsdom
from v15 to v16, the breaking changes are listed at https://github.com/jsdom/jsdom/releases/tag/16.0.0
- Bump chalk from v2 to v4