Skip to content

Commit e1d5a4c

Browse files
authored
Create staticwebapp.config.json
For Vue routing in static site hosting
1 parent 03aed5e commit e1d5a4c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

staticwebapp.config.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"navigationFallback": {
3+
"rewrite": "/index.html",
4+
"exclude": ["/static/*", "/assets/*", "/*.css", "/*.js", "/*.png", "/*.ico"]
5+
}
6+
}

0 commit comments

Comments
 (0)