Skip to content

Commit 61b94dd

Browse files
committed
add vercel.json config file, force all paths to load /index.html for single-page app mode with routerMode:history
1 parent bcd8c25 commit 61b94dd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

vercel.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"rewrites": [{ "source": "/(.*)", "destination": "/index.html" }]
3+
}

0 commit comments

Comments
 (0)