I'm using Nuxtjs 2.15.4 and I wanna revise my Utils. Right now I'm using a mixin as my utils but I wanna do something like this:
import {func1 , func3} from '~/plugins/mixins/utils.js'
export default{
// ------------
methods:{
myMethod(){
this.func1()
},
}
}
I also want my utils be like a mixin so I can have access to this. ; because I use this to access store or $router or other methods and computed data in my utils.js .
Is it possible at all?