]> git.r.bdr.sh - rbdr/forum/blame - src/routes/t/[id].svelte
Update to SvelteKit
[rbdr/forum] / src / routes / t / [id].svelte
CommitLineData
bd8e98d7
RBR
1<script>
2 export async function load(ctx) {
3 let id = ctx.page.params.id
4 return { props: { id }}
5 }
6
7 import Topic from '$components/topic/topic.svelte';
8</script>
9
10<Topic/>