granipouss / firevuex Goto Github PK
View Code? Open in Web Editor NEWVuex 2 binding for Firebase 3, strongly based on vuefire
License: MIT License
Vuex 2 binding for Firebase 3, strongly based on vuefire
License: MIT License
Hi again! Wanted do some updates to the code in this project, got latest but the package.json says 2.2.0 and the npm package 3.0.0. Is the source outdated? Thanks!
Hi,
I'm trying to approve my app some so the user does not have to reload the page after signing in.
After you sign in with the method auth().signInWithPopup(provider)
in row 15 in auth.js nothing happens as it seems the user (this.$store.getters['auth/getUser']
) does not react. I think it is because of the promise returned from auth().signInWithPopup(provider)
is not handled, but I'm not sure. What would you say?
EDIT: I think my issue lies somewhere else actually. The user
property of auth does get set after login. But components computed using the user property don't react on it.
The computed users
property is null because unauthorized users don't have read access, but if I reload the page after authenticated the users list is retrieved. So the question is, how do recompute all computed values after auth user is changed?
Best regards, Tim
Hi!
I like you tool so far, thank you! I'm using the database and it work fine. Now I would like to get started with the auth, but I'm getting an error of auth/signInWithEmailAndPassword
not being an action available.
This is how I thought it should work by reading the source:
It seems as the store gets the getters for the user at least. Here I've logged in with the console:
I exposed the firebase app object to the stores state in fb
for testing (rather ugly):
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.