竞猜足球比分预测网: Swiper CDN

澳足球比分直播 www.dcjtr.com 如果你不想將Swiper文件放在你的項目中,你可以使用Swiper的CDN服務。
風險提示:CDN由于不穩定性,在生產環境中請謹慎使用。

swiper5
<link rel="stylesheet" >  
<link rel="stylesheet" >    
<script src="https://unpkg.com/swiper/js/swiper.js"> </script>  
<script src="https://unpkg.com/swiper/js/swiper.min.js"> </script>

swiper4/swiper3,要將4.x.x改成相應的版本,如4.0.2(或3.x.x版本)
<link rel="stylesheet" >
<link rel="stylesheet" >
<script src="https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.x.x/js/swiper.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.x.x/js/swiper.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.x.x/js/swiper.esm.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.x.x/js/swiper.esm.bundle.js"></script>


請勿直接引入Swiper中文網的文件

x <script src="//www.dcjtr.com/dist/js/swiper.min.js"></script>

x <link href="//www.dcjtr.com/dist/css/swiper.min.css" />