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:
@@ -1 +1,5 @@
|
||||
<h1>{params.slug.toUpperCase()}</h1>
|
||||
<script>
|
||||
import { page } from '@sapper/app';
|
||||
</script>
|
||||
|
||||
<h1>{$page.params.slug.toUpperCase()}</h1>
|
||||
@@ -1 +1,5 @@
|
||||
<h1>{JSON.stringify(query)}</h1>
|
||||
<script>
|
||||
import { page } from '@sapper/app';
|
||||
</script>
|
||||
|
||||
<h1>{JSON.stringify($page.query)}</h1>
|
||||
Reference in New Issue
Block a user