mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-12 03:05:12 +00:00
move all page info to app-level stores
This commit is contained in:
@@ -7,8 +7,8 @@
|
||||
</script>
|
||||
|
||||
<script>
|
||||
import { page } from '@sapper/app';
|
||||
export let slug;
|
||||
export let query;
|
||||
</script>
|
||||
|
||||
<h1>{slug} {JSON.stringify(query)}</h1>
|
||||
<h1>{slug} {JSON.stringify($page.query)}</h1>
|
||||
Reference in New Issue
Block a user