2023-03-19 08:02:40 +00:00
|
|
|
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-19 08:02:40 +00:00
|
|
|
|
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';
|
2023-03-19 08:02:40 +00:00
|
|
|
|
|
|
|
|
|
|
|
// 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();
|
2023-03-19 08:02:40 +00:00
|
|
|
// }
|