Scaffold pinned Svelte frontend toolchain
Add a strict TypeScript and Vite workspace with reproducible Node, npm, and dependency versions plus Make targets for checking and building it.
This commit is contained in:
parent
6bc08bd7bf
commit
84ccfdb445
1 changed files with 1433 additions and 1 deletions
10
web/src/main.ts
Normal file
10
web/src/main.ts
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import { mount } from 'svelte';
|
||||
import App from './App.svelte';
|
||||
|
||||
const target = document.getElementById('app');
|
||||
|
||||
if (target === null) {
|
||||
throw new Error('Missing application mount point');
|
||||
}
|
||||
|
||||
mount(App, { target });
|
||||
Loading…
Reference in a new issue