1.命令行初始化
设置一下
然后运行
$ vue init webpack Travel
? Target directory exists. Continue? Yes
? Project name travel
? Project description first Vue.js project
? Author kingsley
? Vue build standalone
? Install vue-router? Yes
? Use ESLint to lint your code? Yes
? Pick an ESLint preset Standard
? 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
cd Travel
npm run dev
2.git 更新操作
查看状态
提交到缓冲区
加上更新描述
最后更新
$ git status
$ git add .
$ git commit -m 'project initialized'
$ git push
3.git克隆指令
git clone ssh链接