This commit updates fresh to use import maps instead of deps files in generated projects.
12 lines
252 B
TypeScript
12 lines
252 B
TypeScript
/** @jsx h */
|
|
|
|
import { h, PageProps, RouteConfig } from "$fresh/runtime.ts";
|
|
|
|
export default function Page(props: PageProps) {
|
|
return <div>Book {props.params.id}</div>;
|
|
}
|
|
|
|
export const config: RouteConfig = {
|
|
routeOverride: "/books/:id(\\d+)",
|
|
};
|