aleph.js
aleph.js copied to clipboard
ssr: false doesn't work
When using the React Starter template if you right update server.ts
and set ssr: false
like this:
import { serve } from "aleph/react-server";
import routes from "./routes/_export.ts";
serve({
router: { routes },
ssr: false,
});
Then also updated the main.tsx
to include hydrate: false
like this:
import { bootstrap } from "aleph/react-client";
bootstrap({hydrate: false});
All that occurs are 404 pages. Is there another step?