fix: use svelte 5 mount api

This commit is contained in:
Jack O'Neill
2026-04-05 10:47:28 +02:00
parent 6c6f4022a0
commit 4bf1c1fe60
4 changed files with 4 additions and 3 deletions

View File

@@ -1,7 +1,8 @@
import './app.css';
import App from './App.svelte';
import { mount } from 'svelte';
const app = new App({
const app = mount(App, {
target: document.getElementById('app')!
});