This commit is contained in:
21
webseite-sass-js/dev/scripts/main.js
Normal file
21
webseite-sass-js/dev/scripts/main.js
Normal file
@@ -0,0 +1,21 @@
|
||||
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();
|
||||
})();
|
||||
Reference in New Issue
Block a user