mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-14 20:14:39 +00:00
give each app its own page, preloading and session stores, using context
This commit is contained in:
@@ -9,7 +9,8 @@
|
||||
</script>
|
||||
|
||||
<script>
|
||||
import { page } from '@sapper/app';
|
||||
import { stores } from '@sapper/app';
|
||||
const { page } = stores();
|
||||
|
||||
export let count;
|
||||
</script>
|
||||
|
||||
@@ -9,7 +9,8 @@
|
||||
</script>
|
||||
|
||||
<script>
|
||||
import { page } from '@sapper/app';
|
||||
import { stores } from '@sapper/app';
|
||||
const { page } = stores();
|
||||
|
||||
export let count;
|
||||
export let segment;
|
||||
|
||||
Reference in New Issue
Block a user