question
There is no response when typing vue ui in cmd
Solution
The vue ui command requires vue3.0 or above.
1. View the current version
vue --version
Vue versions below 3.0 do not have ui commands.
2. View the commands owned by the version
vue -h
3. Uninstall the previous version of vue
npm uninstall vue-cli -g
Uninstallation completed, check whether it has been uninstalled
vue -V
4. Install @vue/cli
cnpm install -g @vue/cli
Waiting to install...
5. Check whether the installation is successful and check the version
vue -V
Check whether there is a ui command in the vue command
vue -h
6. Use vue ui to start the page
vue ui