Files
JS/webseite-sass-js/dev/scripts/main.js
Philippe Torrel b3f884d650
2026-07-22 09:08:51 +02:00

22 lines
457 B
JavaScript

import ProductManager from './modules/ProductManager'; // Dateiendung kann weggelassen werden, wenn ein Bundler eingesetzt wird (esbuild, webpack, rollup, etc.)
(() => {
// === DOM & VARS =======
const DOM = {};
// === INIT =============
const init = () => {
// TODO: routing
const pm = ProductManager();
console.log('init');
};
// === EVENTHANDLER =====
// === XHR/FETCH ========
// === FUNCTIONS ========
init();
})();