homepage/_assets/index.js

21 lines
524 B
JavaScript
Raw Permalink Normal View History

import { init as init_lens } from './js/lens.js'
import { init as init_cartridge } from './js/cartridge';
2023-03-21 05:20:18 +00:00
import { init as init_pong } from './js/pong';
2023-03-16 07:54:45 +00:00
// Test import of an asset
// import webpackLogo from '@/images/webpack-logo.svg'
// Test import of styles
import './index.scss';
// let main = document.getElementsByTagName(main);
// console.log('name', main[0].getAttribute('name'))
// if (main[0].getAttribute('name') === "home"){
init_lens();
console.log('init lens');
init_cartridge();
2023-03-21 05:20:18 +00:00
init_pong();
// }