-
-
Notifications
You must be signed in to change notification settings - Fork 270
Closed
Description
I got this message after deploying app on firebase .
I want to host my app on firebase.
I followed these steps.
- npm run build and it created build folder
- firebase init , select hosting ,
- What do you want to use as your public directory? build
- Configure as a single-page app (rewrite all urls to /index.html)? Yes
- File build/index.html already exists. Overwrite? No
- and then finally firebase deploy
after sometime I see files uploaded successfully and in firebase hosting dashboard it shows files uploaded something like 727 . but app looks something like a welcome message "Welcome Firebase Hosting Setup Complete . You're seeing this because you've successfully setup Firebase Hosting. Now it's time to go build something extraordinary!"
however, if I create a react app using create-react-app , and follow same steps , its working fine at same url and host. it display app at once without a problem.
my firebase.json
{
"hosting": {
"public": "build",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
}
Maxth47, faizan-appdirect, frankie303, ronytesler, yitzhak-bloy and 52 moreagueroveraalvaro, Navindu752, jmoda1028, Shailesh9096, Akworld18 and 9 more
Metadata
Metadata
Assignees
Labels
No labels