Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error adding it to main.js #34

Open
jggj21 opened this issue Feb 15, 2021 · 0 comments
Open

Error adding it to main.js #34

jggj21 opened this issue Feb 15, 2021 · 0 comments

Comments

@jggj21
Copy link

jggj21 commented Feb 15, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant