Skip to content

Commit 46633f8

Browse files
committed
chore: add vercel config with rewrites for SPA docs
1 parent 8a298f8 commit 46633f8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

vercel.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"buildCommand": "pnpm docs:build",
3+
"outputDirectory": "docs/dist",
4+
"rewrites": [
5+
{ "source": "/(.*)", "destination": "/index.html" }
6+
]
7+
}

0 commit comments

Comments
 (0)