Skip to content
This repository has been archived by the owner on Apr 19, 2019. It is now read-only.

vuexfire and vuefire #9

Closed
vanderlin opened this issue Nov 16, 2016 · 2 comments
Closed

vuexfire and vuefire #9

vanderlin opened this issue Nov 16, 2016 · 2 comments

Comments

@vanderlin
Copy link

I have this instance happening where I only want data from firebase in the store. When I have another component binding something from Firebase:

firebase: {
   users: firebase.database().ref('users')
}

I do not have this defined in the store but the store is asking for it:
database.js?8254:60Uncaught Error: VuexFire: bind failed: "users" is not defined

Is there a way to still use firebase in some components with vuefire but not have them bound to the store?

@posva
Copy link
Owner

posva commented Nov 16, 2016

Unfortunately, no, that's not possible atm. Both plugins rely on the same property because it is redundant to use both of them at the same time. They even use the same functions names so the last one installed is the one taking control, in your case, I guess it's Vuexfire.
There's no plan atm to support this but I'm open to suggestions 🙂

@posva posva mentioned this issue Nov 20, 2016
@posva
Copy link
Owner

posva commented Feb 1, 2017

This is a won't fix for v1. It should work with v2 but not recommended 🙂

@posva posva closed this as completed Feb 1, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants