Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brandonroberts/tanstack-react-router-analog-nitro
An example application using TanStack React Router with AnalogJS + Nitro
https://github.com/brandonroberts/tanstack-react-router-analog-nitro
react ssr tanstack vit
Last synced: 7 days ago
JSON representation
An example application using TanStack React Router with AnalogJS + Nitro
- Host: GitHub
- URL: https://github.com/brandonroberts/tanstack-react-router-analog-nitro
- Owner: brandonroberts
- Created: 2023-08-24T14:02:43.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-24T17:49:24.000Z (over 1 year ago)
- Last Synced: 2024-10-29T15:45:15.510Z (about 2 months ago)
- Topics: react, ssr, tanstack, vit
- Language: TypeScript
- Homepage: https://tanstack-react-router-analog-nitro.netlify.app/
- Size: 127 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TanStack React Router + Analog + Nitro
This is an example application using [TanStack React Router](https://tanstack.com/router) + [Analog + Nitro](https://github.com/analogjs/analog/tree/main/packages/vite-plugin-nitro) that includes SSR and prerendering.
The example application is from the TanStack React Router docs.
## Setup
Install the dependencies
```sh
npm install
```## Development
Run the development server
```sh
npm run dev
```Navigate to http://localhost:5173 in the browser
## Build
Run the build command to build the client/server apps and prerender the pages
```sh
npm run build
```## TODOs
- Get SSR hydration working with Router