You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
614 B
29 lines
614 B
// Swiper Class
|
|
import Swiper from './components/core/core-class';
|
|
|
|
// Core Modules
|
|
import Device from './modules/device/device';
|
|
import Support from './modules/support/support';
|
|
import Browser from './modules/browser/browser';
|
|
import Resize from './modules/resize/resize';
|
|
import Observer from './modules/observer/observer';
|
|
|
|
//IMPORT_COMPONENTS
|
|
|
|
const components = [
|
|
Device,
|
|
Support,
|
|
Browser,
|
|
Resize,
|
|
Observer,
|
|
//INSTALL_COMPONENTS
|
|
];
|
|
|
|
if (typeof Swiper.use === 'undefined') {
|
|
Swiper.use = Swiper.Class.use;
|
|
Swiper.installModule = Swiper.Class.installModule;
|
|
}
|
|
|
|
Swiper.use(components);
|
|
|
|
//EXPORT
|
|
|