傻瓜式学习day1
准备工作安装完毕
node -v
v12.18.3
npm -v
6.14.6
vue -V
2.9.6
创建项目(这里提示去下载了git)
vue init webpack myproject
询问
? Project name myproject
? Project description my first vue project
? Author hj
? Vue build standalone
? Install vue-router? Yes
? Use ESLint to lint your code? No
? Set up unit tests No
? Setup e2e tests with Nightwatch? No
? Should we run `npm install` for you after the project has been created? (recom
mended) npm
vue-cli · Generated "myproject".
# Installing project dependencies ...
等待创建完成
cd myproject
npm run dev
Your application is running here: http://localhost:8080
创建成功,如图
webstorm打开项目
open --> myproject(项目文件夹) -->如图
OK了