20 lines
524 B
JavaScript
20 lines
524 B
JavaScript
import { init as init_lens } from './js/lens.js'
|
|
import { init as init_cartridge } from './js/cartridge';
|
|
import { init as init_pong } from './js/pong';
|
|
|
|
|
|
// 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();
|
|
init_pong();
|
|
// }
|