-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Labels
Description
Hello!
Currently trying to make it work with the new composition API.
I found a codesandbox where it does work and forked it to try make it work with component helpers (without writing const store = context.root.$store on every component), but then get() returns this in template:
function () { var args = [], len = arguments.length; while ( len-- ) args[ len ] = arguments[ len ]; if (!this.$store) { throw new Error('[Vuex Pathify] Unexpected condition: this.$store is undefined.\n\nThis is a known edge case with some setups and will cause future lookups to fail') } if (!getter || store !== this.$store) { store = this.$store; getter = makeGetter(store, path, stateOnly); } return getter.call.apply(getter, [ this ].concat( args )) }
Is there a way to make it work?
Thanks.
Reactions are currently unavailable