0👍
Put your JS code inside a created(){}
function, inside the Vue.extend({}).
That should allow it access to this.
Source:stackexchange.com
0👍
Put your JS code inside a created(){}
function, inside the Vue.extend({}).
That should allow it access to this.