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
213
213
"name": "my-example-app",
214
214
"type": "static",
215
215
"static": {
216
- "public": "dist"
216
+ "public": "dist",
217
+ "rewrites": [
218
+ {
219
+ "source": "**",
220
+ "destination": "/index.html"
221
+ }
222
+ ]
217
223
},
218
224
"alias": "vue-example",
219
225
"files": [
@@ -222,7 +228,7 @@ Please refer to the [Firebase Documentation](https://firebase.google.com/docs/ho
222
228
}
223
229
` ` `
224
230
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) .
226
232
227
233
3. Adding a deployment script in `package.json`:
228
234
You can’t perform that action at this time.
0 commit comments