Create a vue2 scaffolding project (super detailed)
0. Preface
Before installing vue scaffolding with npm, you need to install node. The previous blog has a detailed installation process. Readers are asked to install node before installing the scaffolding
1 npm install scaffolding for vue2
//安装命令
npm i -g @vue/cli
//查看vue版本
vue -V
2. Create a vue2 scaffolding project
//创建项目
vue create myvue
3. Start the server
//开启服务器
npm run serve
4. Enter the port address in the browser
localhost:8080