Add files via upload
This commit is contained in:
parent
392aebe0df
commit
a3243dd1ba
14 changed files with 871 additions and 0 deletions
13
main.ts
Normal file
13
main.ts
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import { mount } from 'svelte'
|
||||
import App from './App.svelte';
|
||||
|
||||
const target = document.getElementById('app');
|
||||
|
||||
if (!target) {
|
||||
throw new Error("Target element with ID 'app' not found in DOM.");
|
||||
}
|
||||
|
||||
const app = mount(App, {
|
||||
target: document.getElementById('app')!,
|
||||
})
|
||||
export default app;
|
||||
Loading…
Add table
Add a link
Reference in a new issue