Run npm uninstall vue-cli -g, then up to date in, then vue -V, the version number is always there, indicating that it has not been uninstalled
1. Execute global uninstall command
npm uninstall vue-cli -g
2. Delete the original vue file
Check the file location, find the file and delete it
where vue
3. Execute npm uninstall vue-cli -g again , and then check whether there is no version number
Uninstalled successfully