feat: add SPA, serve at /app/, update Dockerfile and README
- React + TanStack Router + shadcn/ui SPA under spa/ - serve spa/dist at /app/ with index.html fallback for client routing - Dockerfile: node build stage for SPA, copy dist into runtime image - README: document SPA, CORS_ORIGINS env var, architecture entry - vite base set to /app/, manifest.json paths fixed
This commit is contained in:
BIN
spa/public/icons/apple-touch-icon.png
Normal file
BIN
spa/public/icons/apple-touch-icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
BIN
spa/public/icons/icon-192x192.png
Normal file
BIN
spa/public/icons/icon-192x192.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
BIN
spa/public/icons/icon-512x512.png
Normal file
BIN
spa/public/icons/icon-512x512.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 46 KiB |
BIN
spa/public/logo.webp
Normal file
BIN
spa/public/logo.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 110 KiB |
12
spa/public/manifest.json
Normal file
12
spa/public/manifest.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"name": "Movies Diary",
|
||||
"short_name": "Movies",
|
||||
"description": "Track and review movies",
|
||||
"start_url": "/app/",
|
||||
"display": "standalone",
|
||||
"background_color": "#0a0a0f",
|
||||
"theme_color": "#0a0a0f",
|
||||
"icons": [
|
||||
{ "src": "logo.webp", "sizes": "any", "type": "image/webp" }
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user