From 97562395632d927781dc2ad8796760e45b2698cb Mon Sep 17 00:00:00 2001 From: Jason N Date: Tue, 22 Oct 2024 20:08:51 +1100 Subject: [PATCH] Update for svelte 5 --- src/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.js b/src/main.js index 9f59e19..eba9278 100644 --- a/src/main.js +++ b/src/main.js @@ -1,8 +1,9 @@ import './style.scss'; import './app.scss'; import App from './App.svelte'; +import { mount } from 'svelte'; -const app = new App({ +const app = mount(App, { target: document.getElementById('app'), });