目前正在使用vue+element-ui开发项目
但是项目之前首页是使用jQuery+bootstarp写的,
首页需要添加轮播图,pc和移动端都需要兼容,
使用了element-ui中的轮播图
在项目中 npm install vue-touch@next 如果使用的vue2.X一定要下载@next版本
//main.js中引入:
import VueTouch from 'vue-touch'
Vue.use(VueTouch, {name: 'v-touch'})
html

js
