Skip to content

Latest commit

 

History

History
66 lines (39 loc) · 2.14 KB

migrate-from-v4.md

File metadata and controls

66 lines (39 loc) · 2.14 KB
sidebar
auto

Migrate from v4

First, install the latest Vue CLI globally:

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

Upgrade All Plugins at Once

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.


One-By-One Manual Migration

If you want to migrate manually and gradually, you can run vue upgrade <the-plugin-name> to upgrade a specific Vue CLI plugin.


Breaking Changes

For All Packages

  • Drop support of Node.js 8, 11, 13

The vue Command (The Global @vue/cli Package)

ESLint Plugin

  • eslint-loader is upgraded from v2 to v4. The only major change is that it dropped support for ESLint < v6.

TypeScript Plugin

E2E-Cypress Plugin

Unit-Mocha Plugin

Internal Packages

@vue/cli-shared-utils

  • Bump chalk from v2 to v4