import { default as Swiper , SwiperPlugin } from './core/index' ; import SwiperPluginLazyload from './modules/lazyload' ; import SwiperPluginPagination from './modules/pagination' ; import SwiperPluginKeyboardControl from './modules/keyboardControl' ; import SwiperPluginMousewheel from './modules/mousewheel' ; import SwiperPluginNavigation from './modules/navigation' ; const plugins = [ SwiperPluginLazyload , SwiperPluginPagination , SwiperPluginKeyboardControl , SwiperPluginMousewheel , SwiperPluginNavigation ] ; Swiper . use ( plugins as Array < SwiperPlugin > ) ; export default Swiper ;