Skip to content

Commit ecb91e4

Browse files
committed
Fix SPA rewrites for Vercel
1 parent 3fb0cdf commit ecb91e4

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

vix-site/vercel.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"buildCommand": "npm run build",
3+
"outputDirectory": "dist",
4+
"installCommand": "npm install",
5+
"cleanUrls": true,
6+
"trailingSlash": false,
7+
"rewrites": [
8+
{
9+
"source": "/:path*",
10+
"destination": "/index.html"
11+
}
12+
]
13+
}

0 commit comments

Comments
 (0)