1
You need to uninstall vue-cli, and then install @vue/cli.
Here is how:
npm uninstall -g vue-cli
npm install -g @vue/cli
0
3 steps to update from vue 3 lower version to the latest:
- npm install -g @vue/cli
- vue upgrade
- npm i
-2
Maybe you have npm
and yarn
installed.
Try npm update --global
and yarn global upgrade
.
Good luck!!!
Source:stackexchange.com