Module
x/udibo_react_app/example/main.ts
A React Framework for Deno that makes it easy to create highly interactive apps that have server side rendering with file based routing for both your UI and API.
import * as path from "std/path/mod.ts";import { serve } from "x/udibo_react_app/server.tsx";
import route from "./routes/_main.tsx";import router from "./routes/_main.ts";import { AppContext } from "./context.ts";
await serve({ port: 9000, router, route, workingDirectory: path.dirname(path.fromFileUrl(import.meta.url)), Context: AppContext,});