-
Notifications
You must be signed in to change notification settings - Fork 41
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
I can't Import vs-notify in my vue 2+ project #1
Comments
Are you using vue-cli? |
yes |
This component is for pure browser setup: you load vue.js and you load vs-notify after it. If you use anything fancy, you need to read how to register Vue components in your environment and modify the code accordingly. |
So does it mean that it may not work with vue-cli? |
I don't use vue-cli and so I have no idea :) |
OK. Thanks |
why not publish as an npm package and remove the restriction. add js files manually this days is too much of a hack. Nice notification lib here |
This error message keeps coming up at line 38 of vs-notify.js:
Uncaught ReferenceError: Vue is not defined
How can I fix it?
The text was updated successfully, but these errors were encountered: