Skip to content

Commit da565f5

Browse files
committed
add async wrapper to sandbox
1 parent 9f59122 commit da565f5

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

playgrounds/sandbox/Wrapper.svelte

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<script>
2+
import App from './src/App.svelte';
3+
</script>
4+
5+
<svelte:boundary>
6+
<App />
7+
8+
{#snippet pending()}{/snippet}
9+
</svelte:boundary>

playgrounds/sandbox/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
<script type="module">
1414
import { mount, hydrate, unmount } from 'svelte';
15-
import App from '/src/App.svelte';
15+
import App from '/Wrapper.svelte';
1616

1717
globalThis.delayed = (v, ms = 1000) => {
1818
return new Promise((f) => {

0 commit comments

Comments
 (0)