title: vuexfire not working with Firebase Emulators
body: <p>I'm using vuexfire to connect my vue/vuex app to Firebase Cloud Firestore. It works fine when actually connected to Firebase. It doesn't work when using the Firebase emulators.</p>
  <p>Is there a specific way that the Firebase emulator needs to be connected to allow Vuexfire to connect?</p>
  <p>What <em>mostly</em> works is</p>
  <pre><code>vue-cli-service serve
  </code></pre>
  <p>and then opening a new terminal and running</p>
  <pre><code>firebase emulators:start --import=./saved-data --export-on-exit
  </code></pre>
  <p>And I changed the settings in firebase.json to include</p>
  <pre><code>&quot;emulators&quot;: {
      &quot;firestore&quot;: {
        &quot;port&quot;: 8081
      },
  </code></pre>
  <p>to prevent any conflict between the firestore emulator and the vue-cli dev server.</p>
  <p>But the console is giving me this error:</p>
  <pre><code>Uncaught (in promise) FirebaseError: 
  false for 'get' @ L6
  </code></pre>
  <p>Here's the firebase initialization:</p>
  <pre><code>firebase.initializeApp(firebaseConfig)
  const auth = firebase.auth()
  const db = firebase.firestore()
  const func = firebase.functions()
  
  const emulating = true
  
  if (emulating) {
    func.useEmulator('localhost', 5001)
    //auth.useEmulator('http://localhost:9099/')
    db.useEmulator('localhost', 8081)
  }
  </code></pre>
  <p>And the Vuex code that (I think) is causing the error:</p>
  <pre><code>bindProfile: firestoreAction(({ bindFirestoreRef, state }) =&gt; {
    const pid = state.user.uid
    console.log('Binding profile...')
    return bindFirestoreRef('profile', db.collection('profiles').doc(pid))
  }),
  </code></pre>
  <p>Has anyone had success using Vuexfire with the Firebase emulators?</p>
  <p>Thanks!</p>