Local offline development with Firestore

2020-07-13 13:09发布

问题:

Is there any way to use the gcloud firestore emulator to do local offline development when using the web client SDK? (ie client-side JS).

I've found both

firebase serve --only firestore and gcloud beta emulators firestore start

but not sure of intended use cases of either, as the documentation doesn't give much to go on?

回答1:

The emulator functionality has improved significantly since I posted this question. The documentation is here now: https://firebase.google.com/docs/emulator-suite