mirror of
https://github.com/coollabsio/coolify-examples.git
synced 2026-02-19 05:48:58 +00:00
new examples
This commit is contained in:
27
node/remix/README.md
Normal file
27
node/remix/README.md
Normal file
@@ -0,0 +1,27 @@
|
||||
# Remix (React Router)
|
||||
|
||||
React Router (formerly Remix) examples with SSR and static export.
|
||||
|
||||
## Variants
|
||||
|
||||
### SSR (Server-Side Rendering)
|
||||
|
||||
```bash
|
||||
cd ssr
|
||||
npm install
|
||||
npm run dev # development
|
||||
npm run build # build
|
||||
npm start # production server
|
||||
```
|
||||
|
||||
### Static Export (SPA Mode)
|
||||
|
||||
```bash
|
||||
cd static
|
||||
npm install
|
||||
npm run dev # development
|
||||
npm run build # build client files
|
||||
npm start # serve static files
|
||||
```
|
||||
|
||||
Static export is configured with `ssr: false` in `react-router.config.ts`.
|
||||
Reference in New Issue
Block a user