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