Skip to content

Commit fcea001

Browse files
committed
Fix Vue SPA fallback on Vercel
1 parent ecb91e4 commit fcea001

2 files changed

Lines changed: 6 additions & 18 deletions

File tree

vercel.json

Lines changed: 0 additions & 13 deletions
This file was deleted.

vix-site/vercel.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@
22
"buildCommand": "npm run build",
33
"outputDirectory": "dist",
44
"installCommand": "npm install",
5-
"cleanUrls": true,
6-
"trailingSlash": false,
7-
"rewrites": [
5+
"routes": [
86
{
9-
"source": "/:path*",
10-
"destination": "/index.html"
7+
"handle": "filesystem"
8+
},
9+
{
10+
"src": "/.*",
11+
"dest": "/index.html"
1112
}
1213
]
1314
}

0 commit comments

Comments
 (0)