Files
sapper/test/app/src/routes/_layout.html
2018-09-19 12:02:11 -04:00

15 lines
270 B
HTML

{#if preloading}
<progress class='preloading-progress' value=0.5/>
{/if}
<svelte:component this={child.component} {rootPreloadFunctionRan} {...child.props}/>
<script>
export default {
preload() {
return {
rootPreloadFunctionRan: true
};
}
};
</script>