Thanks for the post, it is a helpful reference!
Only issue I ran into was with getCollection querying. It looks like there is a typo of _query in the .where call. Also getting an error that .where function is expecting 3 args but getting 1.
Hm ya, the code does seem to run, guess I am just not sure how exactly.. Only see one reference to _query in the code, as mentioned, so not sure how it is actually getting defined.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thanks for the post, it is a helpful reference!
Only issue I ran into was with getCollection querying. It looks like there is a typo of
_query
in the.where
call. Also getting an error that .where function is expecting 3 args but getting 1.did you check the final project in github because there might have been a typo moving the code from the project into the blog post.
did you resolve the issue?
Looks the same in Git source. Maybe I am just missing something though?
can you send me the link? there are multiple branches in the repo, I just ran the vuex branch and it worked fine
Hm ya, the code does seem to run, guess I am just not sure how exactly.. Only see one reference to
_query
in the code, as mentioned, so not sure how it is actually getting defined.