vue-cli
to @vue/cli
.If you have the previous vue-cli
(1.x or 2.x) package installed globally, you need to uninstall it first with npm uninstall vue-cli -g
or yarn global remove vue-cli
.vue
binary in your command line. You can verify that it is properly installed by simply running vue
, which should present you with a help message listing all available commands.@vue/cli
related packages (including packages starting with @vue/cli-plugin-
or vue-cli-plugin-
) inside your project, run vue upgrade
inside the project directory: