Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssr: false doesn't work #528

Open
kealjones-wk opened this issue Jan 28, 2023 · 0 comments
Open

ssr: false doesn't work #528

kealjones-wk opened this issue Jan 28, 2023 · 0 comments

Comments

@kealjones-wk
Copy link

kealjones-wk commented Jan 28, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant