26 lines
727 B
TypeScript
26 lines
727 B
TypeScript
// ASSETS
|
|
import.meta.glob("../../assets/images/**/*", { eager: true });
|
|
import CookieNotice from "@ldc-web/cookie-notice";
|
|
|
|
// COOKIES
|
|
globalThis.CookieNotice = CookieNotice;
|
|
|
|
// UTILITIES
|
|
import "@fo/utilities/bootstrap";
|
|
import "@fo/utilities/fontawesome";
|
|
import "@fo/utilities/sliders";
|
|
import { foVueModules } from "./utilities/fo-vue-modules";
|
|
import { registerFoVueApps } from "./utilities/vue-fo";
|
|
|
|
// Local
|
|
import "@fo/base/flashToasts";
|
|
|
|
if (typeof document !== "undefined") {
|
|
if (document.readyState === "loading") {
|
|
document.addEventListener("DOMContentLoaded", () => {
|
|
registerFoVueApps(foVueModules, document);
|
|
}, { once: true, });
|
|
} else {
|
|
registerFoVueApps(foVueModules, document);
|
|
}
|
|
}
|