Deploy frontend
In the root of your project run:
$ firebase init hosting
You will be asked for next questions:
- 1.Please select an option: Use an existing project
- 2.Select a default Firebase project for this directory: [project-name]
- 3.What do you want to use as your public directory? build
- 4.Configure as a single-page app (rewrite all urls to /index.html)? Yes
- 5.Set up automatic builds and deploys with GitHub? No
- 6.File public/404.html already exists. Overwrite? No
- 7.File public/index.html already exists. Overwrite? No
Then, run:
$ firebase deploy --only hosting
Congratulates! You've deployed frontend of admin
Last modified 2yr ago