File tree Expand file tree Collapse file tree 2 files changed +34
-0
lines changed
Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,23 @@ The template is created by [GDG Jalandhar](https://meetup.com/GDG-Jalandhar/) te
48481 . Some by default file will be created successfully.
49491 . Run locally
5050 * ` firebase serve ` or ` npm run serve `
51+ 1 . Update Firebase.json file
52+ ``` js
53+ {
54+ " hosting" : {
55+ " public" : " dist" ,
56+ " rewrites" : [ {
57+ " source" : " **" ,
58+ " destination" : " /index.html"
59+ } ],
60+ " ignore" : [
61+ " firebase.json" ,
62+ " **/.*" ,
63+ " **/node_modules/**"
64+ ]
65+ }
66+ }
67+ ```
51681. Build and deploy
5269 * ` firebase deploy` or ` npm run deploy`
5370
Original file line number Diff line number Diff line change 13131 . Some by default file will be created successfully.
14141 . Run locally
1515 * ` firebase serve ` or ` npm run serve ` or ` yarn serve `
16+ 1 . Update Firebase.json file
17+ ``` js
18+ {
19+ " hosting" : {
20+ " public" : " dist" ,
21+ " rewrites" : [ {
22+ " source" : " **" ,
23+ " destination" : " /index.html"
24+ } ],
25+ " ignore" : [
26+ " firebase.json" ,
27+ " **/.*" ,
28+ " **/node_modules/**"
29+ ]
30+ }
31+ }
32+ ```
16331. Build and deploy
1734 * ` firebase deploy` or ` npm run deploy` or ` yarn deploy`
18351. The URL to your live site is listed in the output.
You can’t perform that action at this time.
0 commit comments