Context of the component of the vue is coming wrong

1

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

  

$ router

If you want to appear in the next context, the object I get 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 can not do the route manipulation without the system refresh for example. NOTE: may be some update of the last half year, I worked with VUE in November and December, but January I changed jobs and in the meantime I could not keep up with the performance of the framework unfortunately.

Thank you in advance for your help.

    
asked by anonymous 27.06.2018 / 22:52

0 answers