new examples

This commit is contained in:
Andras Bacsai
2025-12-26 11:40:00 +01:00
parent 35e4d33085
commit d3a2a9d83b
1164 changed files with 101362 additions and 160055 deletions

27
node/nextjs/README.md Normal file
View File

@@ -0,0 +1,27 @@
# Next.js
Next.js 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
```bash
cd static
npm install
npm run dev # development
npm run build # build to 'out' directory
npm start # serve static files
```
Static export is configured with `output: 'export'` in `next.config.ts`.