Is there a way to override some of npm's mixin which is called inside the component by the local one ?
I have an npm package component inside
node_modules/somePackageName/components/footer.vue
which use another of it's mixins from
node_modules/somePackageName/mixins/popup.js
That popup.js
contains following method:
methods: {
setPopupActiveStatus (val, blur = true) {
const isVisible = false
}
},
And I want to override it's behaviour from App.vue
where I use that footer.vue
component with something like this:
methods: {
setPopupActiveStatus (val, blur = true) {
const isVisible = true
}
},
But it doesn't work as I wanted to.
==== UPDATE ====
Here is the explanation of How I solved my issue based on @Estradiaz's answer: