After my own research and reconfiguration, The steps are as follows: 1.npm install cnpm -g; 2.cnpm install -g vue-cli//It is installed under the c drive by default and creates a global installation 3.vue init webpack my -project//Since you have installed vue globally, this step can be performed under the disk you want to create, 4.cd my-project//Enter the project you defined; 5.cnpm install// Build the installation package; 6.npm run dev//In this step, dev means the development environment, it can also be the production environment;
You typed it wrong, bro.
registry
前面是两个-
After my own research and reconfiguration,
The steps are as follows:
1.npm install cnpm -g;
2.cnpm install -g vue-cli//It is installed under the c drive by default and creates a global installation
3.vue init webpack my -project//Since you have installed vue globally, this step can be performed under the disk you want to create,
4.cd my-project//Enter the project you defined;
5.cnpm install// Build the installation package;
6.npm run dev//In this step, dev means the development environment, it can also be the production environment;
Use windows, I respect you as a man.