]> git.r.bdr.sh - rbdr/forum/blob - src/routes/p/[id].svelte
Update to SvelteKit
[rbdr/forum] / src / routes / p / [id].svelte
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/>