File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -213,7 +213,13 @@ Please refer to the [Firebase Documentation](https://firebase.google.com/docs/ho
213213 "name": "my-example-app",
214214 "type": "static",
215215 "static": {
216- "public": "dist"
216+ "public": "dist",
217+ "rewrites": [
218+ {
219+ "source": "**",
220+ "destination": "/index.html"
221+ }
222+ ]
217223 },
218224 "alias": "vue-example",
219225 "files": [
@@ -222,7 +228,7 @@ Please refer to the [Firebase Documentation](https://firebase.google.com/docs/ho
222228 }
223229 ` ` `
224230
225- Modify ` name ` and ` alias ` accordingly .
231+ You can further customize the static serving behavior by consulting [Now ' s documentation](https://zeit.co/docs/deployment-types/static) .
226232
2272333. Adding a deployment script in `package.json`:
228234
You can’t perform that action at this time.
0 commit comments