give each app its own page, preloading and session stores, using context

This commit is contained in:
Rich Harris
2019-04-29 14:52:19 -04:00
parent 9c48e32a45
commit afeedf6bb2
17 changed files with 54 additions and 49 deletions

View File

@@ -7,7 +7,10 @@
</script>
<script>
import { page } from '@sapper/app';
import { stores } from '@sapper/app';
const { page } = stores();
export let slug;
</script>