Vue initialization scaffolding

Shang Silicon Valley Tutorial

B station video tutorial
insert image description here

1. Install vue globally

The previous installation can be skipped, you can enter vue -V in the CMD command to see if it is installed and the installed version

2. Switch to the directory where you want to create the project

You can enter the directory to be selected by entering cd/d E:\study... After entering the directory,
enter vue create file name
to pop up,
insert image description here
you can choose vue2 or vue3
Note: When using the CMD command, enter as an administrator, otherwise an error may be reported
insert image description here

3. Run the program

npm run dev

Guess you like

Origin blog.csdn.net/YG_zhh/article/details/128618772
Recommended