Connect the Emulator UI development server to a local project
masterIf you want to iterate on the UI while connected to your own project's emulators, follow these steps:
- In your project directory, start the emulators:
cd project/
firebase emulators:start --import my-data- In a separate terminal, navigate to the
firebase-tools-uidirectory and start the dev server, providing your project ID and the emulator hub address:
cd firebase-tools-ui/
GCLOUD_PROJECT=<project-id> FIREBASE_EMULATOR_HUB=localhost:4400 npm startNote: The development server runs on port 5173 by default. Do not confuse this with the production Emulator UI, which defaults to port 4000.
GCLOUD_PROJECT=<project-id> FIREBASE_EMULATOR_HUB=localhost:4400 npm start