🐛 fixes routing

This commit is contained in:
2026-05-20 14:40:47 +02:00
parent 7d6240e28a
commit e4e41197b9
7 changed files with 78 additions and 22 deletions
+16
View File
@@ -0,0 +1,16 @@
import { route } from "../../core/route.js";
import { html } from "lit";
export const path = "/episodes" as const;
export const routes = route(
{
path: "/episodes/:id",
async enter() {
await import("./index.js");
return true;
},
render({ id }){
return html`<app-episode id=${id}></app-episode>`;
},
},
);