swiper js 3.4.2 docs code example
Example 1: Js Swiper
// import Swiper JS
import Swiper from 'swiper';
// import Swiper styles
import 'swiper/swiper-bundle.css';
const swiper = new Swiper(...);
Example 2: Js Swiper
$ npm install swiper
// import Swiper JS
import Swiper from 'swiper';
// import Swiper styles
import 'swiper/swiper-bundle.css';
const swiper = new Swiper(...);
$ npm install swiper