From 8a6aba8ab07b472f8186711d316dff10db2be020 Mon Sep 17 00:00:00 2001 From: Marcel Wiessler Date: Sun, 27 Aug 2023 20:10:07 +0200 Subject: [PATCH] move web component --- src/{routes => components}/NeedleEngine.svelte | 2 +- src/routes/+page.svelte | 2 +- src/routes/regular/+page.svelte | 2 +- src/routes/scenes/+layout.svelte | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename src/{routes => components}/NeedleEngine.svelte (90%) diff --git a/src/routes/NeedleEngine.svelte b/src/components/NeedleEngine.svelte similarity index 90% rename from src/routes/NeedleEngine.svelte rename to src/components/NeedleEngine.svelte index ef7f813..158bdc6 100644 --- a/src/routes/NeedleEngine.svelte +++ b/src/components/NeedleEngine.svelte @@ -2,7 +2,7 @@ import { onMount } from "svelte"; onMount(async () => { - await import("./../generated/gen.js"); + await import("../generated/gen.js"); await import("@needle-tools/engine"); }); diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 7cedd43..fb07cfb 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,5 +1,5 @@
diff --git a/src/routes/regular/+page.svelte b/src/routes/regular/+page.svelte index 5d515f4..176f2e0 100644 --- a/src/routes/regular/+page.svelte +++ b/src/routes/regular/+page.svelte @@ -1,5 +1,5 @@

Regular HTML page

diff --git a/src/routes/scenes/+layout.svelte b/src/routes/scenes/+layout.svelte index 02e4b8e..57d90c6 100644 --- a/src/routes/scenes/+layout.svelte +++ b/src/routes/scenes/+layout.svelte @@ -1,7 +1,7 @@