atagen

malice

public
Star0
Watch0
20fe182f3204e4d4923607816147c3fa0ae4cccc
2
ssh://brewery@pls.lobotomise.me:33/atagen/malice.git
web/src/main.tsTypescript13 lines402 B
1
import './app.css';
2
import { mount } from 'svelte';
3
import App from './App.svelte';
4
import { registerServiceWorker } from './lib/sw-register';
5
import { trackKeyboardInset } from './lib/viewport';
6
7
const target = document.getElementById('app');
8
if (!target) throw new Error('#app element missing');
9
registerServiceWorker();
10
trackKeyboardInset();
11
const app = mount(App, { target });
12
13
export default app;