got frontend working with backend project

This commit is contained in:
2024-11-27 00:35:32 -05:00
parent 66ba89c0b1
commit 0093589a4b
11 changed files with 250 additions and 63 deletions

View File

@ -5,10 +5,14 @@
import * as $_404 from "./routes/_404.tsx";
import * as $_app from "./routes/_app.tsx";
import * as $_layout from "./routes/_layout.tsx";
import * as $authors_id_ from "./routes/authors/[id].tsx";
import * as $authors_index from "./routes/authors/index.tsx";
import * as $index from "./routes/index.tsx";
import * as $posts_id_ from "./routes/posts/[id].tsx";
import * as $posts_index from "./routes/posts/index.tsx";
import * as $Counter from "./islands/Counter.tsx";
import * as $PostCard from "./islands/PostCard.tsx";
import * as $PostCarousel from "./islands/PostCarousel.tsx";
import { type Manifest } from "$fresh/server.ts";
const manifest = {
@ -16,12 +20,16 @@ const manifest = {
"./routes/_404.tsx": $_404,
"./routes/_app.tsx": $_app,
"./routes/_layout.tsx": $_layout,
"./routes/authors/[id].tsx": $authors_id_,
"./routes/authors/index.tsx": $authors_index,
"./routes/index.tsx": $index,
"./routes/posts/[id].tsx": $posts_id_,
"./routes/posts/index.tsx": $posts_index,
},
islands: {
"./islands/Counter.tsx": $Counter,
"./islands/PostCard.tsx": $PostCard,
"./islands/PostCarousel.tsx": $PostCarousel,
},
baseUrl: import.meta.url,
} satisfies Manifest;