]> git.r.bdr.sh - rbdr/forum/blobdiff - src/pages/p/[id].svelte
Use only src for aliases
[rbdr/forum] / src / pages / p / [id].svelte
index 9caab6ffc26cb691c092f19ac4d15f109c985b8b..3504ceaa59c4998706248825872e90b8f6291414 100644 (file)
@@ -1,5 +1,6 @@
 <script>
-  import Post from '$components/post/post.svelte';
+  import Post from '$/components/post/post.svelte';
+  export let id;
 </script>
 
-<Post/>
+<Post id={id}/>