Spaces:
Paused
Paused
feat: add Vercel deployment config for frontend
Browse files- Add vercel.json with Vite framework settings
- Configure SPA rewrites for client-side routing
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
apps/matrix-frontend/vercel.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"$schema": "https://openapi.vercel.sh/vercel.json",
|
| 3 |
+
"buildCommand": "npm run build",
|
| 4 |
+
"outputDirectory": "dist",
|
| 5 |
+
"installCommand": "npm install",
|
| 6 |
+
"framework": "vite",
|
| 7 |
+
"rewrites": [
|
| 8 |
+
{ "source": "/(.*)", "destination": "/index.html" }
|
| 9 |
+
]
|
| 10 |
+
}
|