aboutsummaryrefslogtreecommitdiff
path: root/src/routes/t
diff options
context:
space:
mode:
authorRuben Beltran del Rio <ruben@unlimited.pizza>2021-03-09 22:43:12 +0100
committerRuben Beltran del Rio <ruben@unlimited.pizza>2021-03-09 22:43:12 +0100
commitbd8e98d7e24c4dbaee7db6ec7955f7c2f6d396a6 (patch)
treee5f0dcbc14d3009c17e5f562404fe19f6aceab73 /src/routes/t
parent862a5f9cdbbda522c608ea63c1e296e81f44de10 (diff)
Update to SvelteKit
Diffstat (limited to 'src/routes/t')
-rw-r--r--src/routes/t/[id].svelte10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/routes/t/[id].svelte b/src/routes/t/[id].svelte
new file mode 100644
index 0000000..8775cec
--- /dev/null
+++ b/src/routes/t/[id].svelte
@@ -0,0 +1,10 @@
+<script>
+ export async function load(ctx) {
+ let id = ctx.page.params.id
+ return { props: { id }}
+ }
+
+ import Topic from '$components/topic/topic.svelte';
+</script>
+
+<Topic/>