diff --git a/_dev/js/theme/components/sliders.js b/_dev/js/theme/components/sliders/index.js similarity index 55% rename from _dev/js/theme/components/sliders.js rename to _dev/js/theme/components/sliders/index.js index e078cae8..a63e90d1 100644 --- a/_dev/js/theme/components/sliders.js +++ b/_dev/js/theme/components/sliders/index.js @@ -1,7 +1,7 @@ import prestashop from 'prestashop'; -import DOMReady from "../utils/DOMReady"; -import PageSlider from './sliders/PageSlider'; -import SwiperSlider from './sliders/SwiperSlider'; +import DOMReady from "../../utils/DOMReady"; +import PageSlider from './PageSlider'; +import SwiperSlider from './SwiperSlider'; prestashop.pageSlider = new PageSlider(); prestashop.SwiperSlider = SwiperSlider; diff --git a/_dev/js/theme/index.js b/_dev/js/theme/index.js index 9441bcb5..f3e3cf37 100644 --- a/_dev/js/theme/index.js +++ b/_dev/js/theme/index.js @@ -9,7 +9,7 @@ import './components/dynamic-bootstrap-components'; import bsCustomFileInput from 'bs-custom-file-input'; import './components/header/index'; import './components/customer/index'; -import './components/sliders'; +import './components/sliders/index'; import './components/responsive'; import './components/quickview'; import './components/product';