mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-14 12:04:39 +00:00
first crack at context-driven store
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import * as sapper from '@sapper/client';
|
||||
import * as sapper from '@sapper/app';
|
||||
|
||||
window.start = () => sapper.start({
|
||||
target: document.querySelector('#sapper')
|
||||
|
||||
@@ -7,12 +7,13 @@
|
||||
</script>
|
||||
|
||||
<script>
|
||||
export let preloading;
|
||||
import { preloading } from '@sapper/app';
|
||||
|
||||
export let child;
|
||||
export let rootPreloadFunctionRan;
|
||||
</script>
|
||||
|
||||
{#if preloading}
|
||||
{#if $preloading}
|
||||
<progress class='preloading-progress' value=0.5/>
|
||||
{/if}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user