-
-
Notifications
You must be signed in to change notification settings - Fork 333
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
Please improve the documentation #287
Comments
You are not even saying the error you have nor the environment you are trying to make it work with: is it with vue-cli, nuxt, an HTML page? This gives me no information about what to improve 😕 |
The documentation does seem to be incomplete. I've used previous versions of Vuefire and the configuration is really different. Hi, that syntax looks off in the line you mentioned. Try just using
I'm not sure if that's even needed if you don't plan on using TimeStamp or GeoPoint. Previous versions of firestore required a timestamp settings configuration but I think the newer versions of the sdk don't require that anymore. |
I checked my old projects and the older version is still working. It looks from the changelog, that this version is still in Alpha, which would explain why the docs are incomplete. |
I'm sorry, I completely forgot to provide any actual info - I am using vue-cli, and the error is the following:
I also realised that this line was not needed at least in my case, so eventually I managed to get Vuefire to work with my app. But I believe at least for less experienced programmers such as myself the documentation is a little vague - in addition to the In the Getting Started page, there is no mention of actually including Firebase itself before adding the Vuefire tutorial code for getting a Firestore instance. Even if this may seem completely obvious to most people, I believe it's worth noting for clarity's sake:
I hope this helps 🙂Thank you for the great plugin! |
Thanks, that makes more sense! I adapted the export statement and added a comment to the relevant section in both vuefire and vuexfire docs |
Hi, I am very new to Vue and Firebase, so I wanted to try Vuefire. However I feel that the "Getting Started" section is a bit lacking and I can't even get my very first Vuefire project to run as I keep getting an error about this specific line:
export { TimeStamp, GeoPoint } = firebase.firestore
All other Vuefire tutorials I've found on the internet also seem to be for an outdated version, so it's difficult to understand what is wrong.
Perhaps I am just too inexperienced?
The text was updated successfully, but these errors were encountered: