Context of the Vue component is going wrong

Asked

Viewed 28 times

1

I have a problem in the development of a project using in Vue2, when I look for the context of the component, it does not return me the "right" context, as for example the:

$router

that if you want to appear in the context that comes, the object I receive when I search is the following:

{"a":{"staticRenderFns":[],"_compiled":true,"_scopeId":"data-v-4c198e4e","beforeCreate":[null,null],"__file":"src\\components\\Calendar.vue","beforeDestroy":[null],"_Ctor":{}}}

and so I’m not able to do the route manipulation without refreshing the system for example. NOTE: may be some update of the last half year, I worked with VUE in November and December, but January changed jobs and in the meantime I could not keep track of the performance of the framework unfortunately.

thanks in advance for the help.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.