vue中v-touch事件用法

1.先下载

cnpm install vue-touch@next --save dev

2.在main.js引入

import VueTouch from 'vue-touch'
Vue.use(VueTouch, { name: 'v-touch' })

3.用法


   

你可能感兴趣的:(vue中v-touch事件用法)