-
Notifications
You must be signed in to change notification settings - Fork 17
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
Cannot use import statement outside a module #1
Comments
So it looks like it's when |
If you don't know much about NuxtJS let me take care of the module to me. I made a module that works very well and has TypeScript integration. If you want, take a look at the repository. |
Faced the same problem, after adding |
Yeah, 100% not a fix we can ask people to do. Will look into it as soon as I get some time. |
Seems that someone already found a fix to this issue, is that valid? Didn't test yet and probably won't as I have zero experience with Nuxt Modules. |
This should be resolved now. Let me know if you have any issues. Shall publish a new version soon. |
Bug report
After setup the module using npm I have an error that says "Cannot use import statement outside a module.
To Reproduce
Clone this project and follow the instructions provided in the README of the repo.
Expected behavior
That the module works 😆
Screenshots
System information
The text was updated successfully, but these errors were encountered: