-
Notifications
You must be signed in to change notification settings - Fork 3
Support for Nuxt 3? #15
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
Comments
Hello, while proposed fix seems trivial, I'm not sure if this won't cause any breaking changes for other workflows. Therefore it should be released as new major version of this plugin, which I kinda don't like (new major version due to 1 line changed). I'm not familiar with Nuxt, but I created new Nuxt@3 project and fiddled with this plugin. After adding
And after fixing that, it failed with another error:
This is most probably due to error on my end, by not being familiar with Nuxt, but unfortunately I don't plan to invest my time into this rabbit hole right now. If I understand correctly, this initial error is due to changes in Node@17 (version 16 is LTS), so I will have to fix it someday. I will let this issue open to see, if more people are encountering this issue - as for now, you are only one. Thanks. |
Hi, thanks for this plugin.
On nuxt 3, I setup the loader as a plugin this way in the nuxt plugins folder:
But I get this error in my console:
(node:13568) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
The text was updated successfully, but these errors were encountered: