Files
sapper/test/app/routes/_layout.html
Rich Harris 58de0f9c99 Nested routes
Fixes #262
2018-07-22 21:00:37 -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>