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

25
node/react/README.md Normal file
View File

@@ -0,0 +1,25 @@
# React
A simple React example with Vite and React Router.
## Getting Started
```bash
# Install dependencies
npm install
# Development
npm run dev
# Build for production
VITE_BUILD_PUBLIC_VAR=your-value npm run build
# Start production server
npm run start
```
## Environment Variables
This is a static site (SPA), so only build-time environment variables are supported:
- `VITE_BUILD_PUBLIC_VAR` - Set during build, baked into the bundle