vue 中swiper的使用教程
来源:
中文源码网 浏览:161 次 日期:2024-04-26 10:48:27
【下载文档: vue 中swiper的使用教程.txt 】
vue 中swiper的使用教程
Install
在vue cli下的使用
npm
install vue-awesome-swiper --save
在main.js中
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/dist/css/swiper.css'
Vue.use(VueAwesomeSwiper)
在component.vue中
参考:http://github.com/surmon-china/vue-awesome-swiper
http://surmon-china.github.io/vue-awesome-swiper/
总结
以上所述是小编给大家介绍的vue 中swiper的使用教程,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对中文源码网网站的支持!