Nova custom tool no vue plugins work
Hi sorry to be a pain - I am using Nova 4.0 and every time I try to use a vue plugin in my custom tool i get this error:
Uncaught TypeError: Cannot read properties of undefined (reading 'version') at ../../node_modules/bootstrap-vue/esm/vue.js For this line:
var isVue3 = vue__WEBPACK_IMPORTED_MODULE_0___default().version.startsWith('3');
This happens for any pluggin i install and try to use in my nova custom tool, below is how i implement the vue plugin in my tool
import { BootstrapVue } from 'bootstrap-vue';
export default {
components: [
BootstrapVue,
],
}
Am i doing something wrong? Is there a working way of using vue pluggins in custom nova tools? i looked at the nova mastery on laracast however i think he is using an older version of nova so his way did not work..
Please or to participate in this conversation.