-
Notifications
You must be signed in to change notification settings - Fork 3
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
Vue 3 / Vite - issues #4
Comments
Same problem here, simply after import in main.ts and app.use(Notifications), this error shows: "Cannot use import statement outside a module" |
I solved the Vite compatibility issue here: https://github.com/emmanuelsw/notiwind |
@emmanuelsw Thanks! I'll check it out on Monday :) |
@emmanuelsw My man you deserve an award! Works notiwind works perfectly, thanks for saving me hours of debugging! :) |
No problem! Glad that it saved you some time! |
@killmenot any chance you might know what the issue is? Switching libraries might be a bit cumbersome for some. @emmanuelsw a PR would be highly appreciated. Thanks |
@coolsam726 @emmanuelsw did a great job but unfortunately I have no time to apply their changes to this repo. If someone open a PR, I will be able to check it and merge |
Hey!
There are some issues with running the package using vue 3 with vite. It works when built but not when development server is running, any solutions?
The text was updated successfully, but these errors were encountered: