Is there any way to override a mixin function in Vue.js?
Maybe it's my mistake to be using Mixins in an OOP fashion, but I have a Page component with subtle variations but a common shared set of functions. To achieve this, I'm using an AbstractPage component and add it as a mixing for each Page.
The problem comes when one specific Page requires a slightly different behaviour in one of the functions. Out of the box, Vue doesn't override the parent function, but it adds both in an array and executes them sequentially.
Is there any way to override mixins functions? Or any idea on a workaround?
Thanks
if (this._events['df.submit'].length > 1) return false. It's an awful solution.Options that expect object values, for example methods, components and directives, will be merged into the same object.. Thanks man!