1.jquery
1 <script src="http://code.jquery.com/jquery-1.4.1.min.js"></script>
2.vue
1 <script src="http://static.runoob.com/assets/vue/1.0.11/vue.min.js"></script>
3.swiper
如果你不想将Swiper文件放在你的项目中,你可以使用Swiper的CDN服务。
以下是各版本的Swiper CDN地址,要将4.x.x改成相应的版本,如4.0.2(或3.x.x版本)。
1 <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.x.x/css/swiper.css"> 2 <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.x.x/css/swiper.min.css"> 3 4 <script src="https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.x.x/js/swiper.js"></script> 5 <script src="https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.x.x/js/swiper.min.js"></script> 6 <script src="https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.x.x/js/swiper.esm.js"></script> 7 <script src="https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.x.x/js/swiper.esm.bundle.js"></script>
原文地址:https://www.cnblogs.com/wush-1215/p/8324630.html
时间: 2024-10-16 14:50:47