File: /var/www/linde-ai/html/scripts/app.js
// Import all custom JS here.
/*
* Import custom JavaScript modules that need to be "initialized" with
* 'import { myModuleName } from "@/scripts/modules/myModule.js";
*
* myModuleName();
*
* Import custom JavaScript modules that just need to run without initialization (this just loads the file itself and doesn't import a specific function, class etc.)
* 'import "@/scripts/modules/myModule.js";'
*/
/* You can also import 3rd party stuff here such as (S)CSS and JS.
* Usually you will import 3rd party JS inside a JS module where you will write some functionality with a 3rd party library so that you split your JS in multiple files (modules).
* You can freely import (S)CSS here, it will get bundled into a single file using Webpack (import order matters here for (S)CSS!)
*/
import "@/styles/styles.scss";
// Import assets script so that static assets in /assets are processed through Webpack pipeline
import "@/scripts/assets";
// DO NOT EDIT IMPORTS ABOVE UNLESS YOU ARE 100% SURE YOU KNOW WHAT YOU ARE DOING
// Import custom JavaScript modules from "/modules" folder here
//import "@/scripts/modules/main";
import { initFormBehaviour } from "@/scripts/modules/form";
import { initSwiperSection } from "@/scripts/modules/swiper";
import {
initSingleNumHover,
initProductTabs,
initProductFaqs,
initMenuDropdown,
initScrollingMenu,
} from "./modules/main";
initFormBehaviour();
initSwiperSection();
initSingleNumHover();
initProductTabs();
initProductFaqs();
initMenuDropdown();
initScrollingMenu();