12 lines
246 B
TypeScript
12 lines
246 B
TypeScript
/** @jsx h */
|
|
|
|
import { h, PageConfig, PageProps } from "../../deps.ts";
|
|
|
|
export default function Page(props: PageProps) {
|
|
return <div>Book {props.params.id}</div>;
|
|
}
|
|
|
|
export const config: PageConfig = {
|
|
routeOverride: "/books/:id(\\d+)",
|
|
};
|