]> git.r.bdr.sh - rbdr/forum/blob - src/routes/f/[id].svelte
Update to SvelteKit
[rbdr/forum] / src / routes / f / [id].svelte
1 <script>
2 export async function load(ctx) {
3 let id = ctx.page.params.id
4 return { props: { id }}
5 }
6 </script>
7
8 <h1>Forum Index.</h1>
9 <p>This component lists topics for forum with id: {id}</p>