We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I´m trying to reuse a component that makes calls to the router i.e:
this.$route.params;
and I get an undefined when packing it into a vue-custom-element same thing happens for actions, i´m getting errors like
Error in mounted hook: "TypeError: Cannot read property 'params' of undefined"
or
TypeError: Cannot read property 'commit' of undefined
Any thoughts on this? Do i need to do something else in order to call $route in Vue, or define something when injecting Vuex context variables?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I´m trying to reuse a component that makes calls to the router
i.e:
this.$route.params;
and I get an undefined when packing it into a vue-custom-element
same thing happens for actions, i´m getting errors like
Error in mounted hook: "TypeError: Cannot read property 'params' of undefined"
or
TypeError: Cannot read property 'commit' of undefined
Any thoughts on this? Do i need to do something else in order to call $route in Vue, or define something when injecting Vuex context variables?
The text was updated successfully, but these errors were encountered: