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

Error($bindAsObject is not a function) occurred #156

Closed
taishikato opened this issue Jan 29, 2018 · 2 comments
Closed

Error($bindAsObject is not a function) occurred #156

taishikato opened this issue Jan 29, 2018 · 2 comments

Comments

@taishikato
Copy link

Hi.
I wanna use firestore in my web app and I found this.
So I did

npm i vuefire@next

and I got this error↓

TypeError: _this.$bindAsObject is not a function

bindAsObject function was working well before I installed vuefire@next.

How can I solve this problem??

Thank you!

@posva
Copy link
Member

posva commented Jan 29, 2018

You don't need to specify anymore if it's a collection or a document 🙂 , so it's just $bind: https://github.com/vuejs/vuefire/blob/firestore/examples/index.html#L113

@posva posva closed this as completed Jan 29, 2018
@taishikato
Copy link
Author

Thank you 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants