Skip to content

Commit

Permalink
move web component
Browse files Browse the repository at this point in the history
  • Loading branch information
marwie committed Aug 27, 2023
1 parent 8cf03e0 commit 8a6aba8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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");
});
</script>
Expand Down
2 changes: 1 addition & 1 deletion src/routes/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script>
import NeedleEngine from "./NeedleEngine.svelte";
import NeedleEngine from "../components/NeedleEngine.svelte";
</script>

<div class="cols">
Expand Down
2 changes: 1 addition & 1 deletion src/routes/regular/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script lang="ts">
import NeedleEngine from "../NeedleEngine.svelte";
import NeedleEngine from "../../components/NeedleEngine.svelte";
</script>

<h1>Regular HTML page</h1>
Expand Down
2 changes: 1 addition & 1 deletion src/routes/scenes/+layout.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script lang="ts">
import { base } from "$app/paths";
import { page } from "$app/stores";
import NeedleEngine from "../NeedleEngine.svelte";
import NeedleEngine from "../../components/NeedleEngine.svelte";
export let data;
Expand Down

0 comments on commit 8a6aba8

Please sign in to comment.