DEV Community

Discussion on: Multiple environments with Firebase Hosting

Collapse
 
spock123 profile image
Lars Rye Jeppesen

What if you have multiple sites in each of those projects?

like "admin" and "shop" for example.

No guide on the Internet I've looked at so far has show how to do this.
It's always either 1) one project with multiple sites or 2) 2 projects with one site each.

Collapse
 
valentinprgnd profile image
Valentin Prugnaud 🦊

You can create multiple sites in the same Firebase project, and leverage the Deployment Targets feature. There is more information here: firebase.google.com/docs/hosting/m...

Collapse
 
spock123 profile image
Lars Rye Jeppesen

Thank you, yes I got it working.

Multiple projects with multiple apps in each project. It was a bit weird to get working though, but finally managed.

Thanks