Skip to main content
Module

x/fastro/examples/response_ssr.tsx

Fast and simple web application framework for deno
Go to Latest
File
import application, { response } from "../server/mod.ts"import App from "./response_ssrApp.tsx"
const app = application()const hydratePath = "./examples/response_ssrClient.tsx"
app.get("/", () => { const res = response() return res.ssr(<App />, hydratePath)})
console.log("Listening on: http://localhost:8000")
await app.serve()