vue-smart-widget
vue-smart-widget copied to clipboard
Error adding it to main.js
I get this error, I execute npm run watch:

I have in my package.json
"vue-smart-widget": "^ 0.6.1",
and main.js
import { SmartWidget } from 'vue-smart-widget'
Vue.component('SmartWidget', SmartWidget)
or if I use it this way:
import VueSmartWidget from 'vue-smart-widget'
Vue.use(VueSmartWidget)
I receive the error, am I integrating it wrong?
I have deleted my node_modules folder, then npm i, but the error persists, I have also run npm run cache
It only works for me in this version: vue-smart-widget": "^ 0.4.6