diff --git a/docs/migrations/migrate-from-v4.md b/docs/migrations/migrate-from-v4.md index 0e58dc6d38..dcacaa9614 100644 --- a/docs/migrations/migrate-from-v4.md +++ b/docs/migrations/migrate-from-v4.md @@ -37,6 +37,7 @@ If you want to migrate manually and gradually, you can run `vue upgrade `${dep}@${range}`) - await this.runCommand('install', deps) - } - - if (pkg.devDependencies) { - const devDeps = Object.entries(pkg.devDependencies).map(([dep, range]) => `${dep}@${range}`) - await this.runCommand('install', [...devDeps, '--save-dev']) - } - - if (pkg.optionalDependencies) { - const devDeps = Object.entries(pkg.devDependencies).map(([dep, range]) => `${dep}@${range}`) - await this.runCommand('install', [...devDeps, '--save-optional']) - } - - return - } - return await this.runCommand('install', this.needsPeerDepsFix ? ['--legacy-peer-deps'] : []) }