This is an example application using TanStack React Router + Analog + Nitro that includes SSR and prerendering.
The example application is from the TanStack React Router docs.
Install the dependencies
npm install
Run the development server
npm run dev
Navigate to http://localhost:5173 in the browser
Run the build command to build the client/server apps and prerender the pages
npm run build
- Get SSR hydration working with Router