Scaffold Svelte frontend and browser test matrix
Establish the TypeScript 7, Oxlint, Vitest, and Playwright workspace with an isolated Svelte diagnostics compatibility boundary.
This commit is contained in:
parent
66991b85b2
commit
9156b75c62
1 changed files with 2545 additions and 0 deletions
11
web/src/main.ts
Normal file
11
web/src/main.ts
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import { mount } from 'svelte'
|
||||
|
||||
import App from './App.svelte'
|
||||
|
||||
const target = document.querySelector<HTMLElement>('#app')
|
||||
|
||||
if (target === null) {
|
||||
throw new Error('missing application mount point')
|
||||
}
|
||||
|
||||
mount(App, { target })
|
||||
Loading…
Reference in a new issue