git vue基本方法

2018-07-17  本文已影响12人  Success85
$ node -v
$ npm -v
$ npm install vue-cli

reset.css

import './assets/css/reset.css'

border.css

import './assets/css/border.css'
$ npm install fastclick --save
import fastClick from 'fastclick'
fastClick.attach(document.body)

iconfont.cn

$ git add .                                 插入缓存
$ git commit -m 'project init'    提交本地项目
$ git push                                 提交线上仓库

stylus

$ npm install stylus --save
$ npm install stylus-loader --save
$ git pull (服务器拉回数据)
$ git checkout index-swiper   检出
$ git status   查看状态

vue-awesome-swiper 切换插件

git 合并

$ git checkout master
$ git merge origin/index-swiper
$ git push
上一篇 下一篇

猜你喜欢

热点阅读