current position:Home>Command vue init requires a global addon to be installed. Please run undefined @vue/cli-init and try

Command vue init requires a global addon to be installed. Please run undefined @vue/cli-init and try

2022-01-27 04:30:26 Writing more articles can grow hair

An error is as follows :
 Insert picture description here
The error message probably means that the global plug-in needs to be installed

Solution :

npm install -g @vue/cli-init

 Insert picture description here
And then you can create :
 Insert picture description here

copyright notice
author[Writing more articles can grow hair],Please bring the original link to reprint, thank you.
https://en.cdmana.com/2022/01/202201270430211529.html

Random recommended