How to Deploy react-vite / next js / react web-app
1. Open cmd and install firebase-tools globally by --->
npm install firebase-tools -g
[ For Both yarn / npm project use the same command ]
Then follow this steps ( inside the project terminal write those command )
1. npm install firebase
2. firebase login
3. firebase init
4. Then answear the question asked by the terminal --> follow the instruction link
2. firebase login
3. firebase init
4. Then answear the question asked by the terminal --> follow the instruction link
5. firebase deploy
If you change something in project then
1. build your project
2. firebase deploy
Comments
Post a Comment