added router to svelte
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -0,0 +1 @@
|
||||
<h1>About</h1>
|
||||
@@ -0,0 +1,5 @@
|
||||
<script>
|
||||
import { t } from '../translations.svelte.js';
|
||||
import { user } from '../user.svelte.js';
|
||||
</script>
|
||||
<h1>{t('home.Welcome',user.name)}</h1>
|
||||
@@ -0,0 +1,4 @@
|
||||
<script>
|
||||
let { id } = $props();
|
||||
</script>
|
||||
<h1>User {id}</h1>
|
||||
Reference in New Issue
Block a user