vue-smart-widget icon indicating copy to clipboard operation
vue-smart-widget copied to clipboard

Error adding it to main.js

Open jggj21 opened this issue 5 years ago • 0 comments

I get this error, I execute npm run watch: image

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

jggj21 avatar Feb 15 '21 18:02 jggj21