From 98ba80a24d6715c57cf9b7fe73a904220a6ccce9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Igor=20Ste=CC=A8pien=CC=81?= Date: Mon, 9 Oct 2023 23:54:12 +0200 Subject: [PATCH] Slider minor changes to folder structure --- _dev/js/theme/components/{sliders.js => sliders/index.js} | 6 +++--- _dev/js/theme/index.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) rename _dev/js/theme/components/{sliders.js => sliders/index.js} (55%) 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';