Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

detailed example - vue2 components #58

Closed
greatramu opened this issue Jan 15, 2017 · 1 comment
Closed

detailed example - vue2 components #58

greatramu opened this issue Jan 15, 2017 · 1 comment
Labels

Comments

@greatramu
Copy link

greatramu commented Jan 15, 2017

Hello experts!

am a beginner with vuejs, and so far I absolutely love it. Does anyone have a example application with vuefire using the Vue2 components (.vue files).

I was also thinking if there is a clever way of integrating the firebase library with Vuex. Then the developer have to update the structures in the state and it somehow asynchronous with the firebase db. That would be very interesting.

@posva posva added the question label Jan 15, 2017
@posva
Copy link
Member

posva commented Jan 15, 2017

The examples in the readme should be enough for that purpose. If you're wondering where to put the firebase information, you should put it in some other js file and import it in your entry point (main.js).
About Vuex, you should look at https://github.com/posva/vuexfire. The version 2, which has a much better API, is still being developed but the project is alive (I'm the maintainer of that too)

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

No branches or pull requests

2 participants