feat: add custom render function support (#30)

This commit is contained in:
Luca Casonato
2021-06-16 19:36:12 +02:00
committed by GitHub
parent 1346105a79
commit 940f34d811
11 changed files with 236 additions and 39 deletions
+8 -6
View File
@@ -3,16 +3,18 @@
// To update this file, run `fresh routes`.
import * as $0 from "./pages/api/joke.ts";
import * as $1 from "./pages/x/[module].tsx";
import * as $2 from "./pages/[name].tsx";
import * as $3 from "./pages/index.tsx";
import * as $1 from "./pages/_render.ts";
import * as $2 from "./pages/x/[module].tsx";
import * as $3 from "./pages/[name].tsx";
import * as $4 from "./pages/index.tsx";
const routes = {
pages: {
"./pages/api/joke.ts": $0,
"./pages/x/[module].tsx": $1,
"./pages/[name].tsx": $2,
"./pages/index.tsx": $3,
"./pages/_render.ts": $1,
"./pages/x/[module].tsx": $2,
"./pages/[name].tsx": $3,
"./pages/index.tsx": $4,
},
baseUrl: import.meta.url,
};