MaximVanhove / vue-router-back-button

Add a back button to your application
MIT License
66 stars 9 forks source link

Error: $routerHistory is not defined on the instance but referenced during render #7

Closed alejandroiglesias closed 5 years ago

alejandroiglesias commented 5 years ago

I'm having an error while trying to upgrade to the latest version (1.2.1) with the new install mechanism:

[Vue warn]: Property or method "$routerHistory" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.
MaximVanhove commented 5 years ago

Can you share your router configuration or maybe create a codesandbox?