mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-16 12:54:38 +00:00
add tests
This commit is contained in:
6
test/apps/basics/src/routes/host.svelte
Normal file
6
test/apps/basics/src/routes/host.svelte
Normal file
@@ -0,0 +1,6 @@
|
||||
<script>
|
||||
import { stores } from '@sapper/app';
|
||||
const { page } = stores();
|
||||
</script>
|
||||
|
||||
<h1>{$page.host.replace(/:\d+$/, '')}</h1>
|
||||
Reference in New Issue
Block a user