Gary
Using nuxtjs/i18n types in a module
@Bazze - unfortunately I don't have an answer for you here but I can tell you I have more trouble with this package (and really what it wraps around - the vue i18n) then I know what to do with. I have strugged with issue and after issue with it. I just keep jiggling the handle until I get it to work. I'm interested to see if anyone actually has an answer for you.
You're in my prayers sir. 🙂
25 replies
defineNuxtPlugin is not defined
Gotcha - yeah, it seems that the module starter kit automatically disables autoimport b/c it's inefficent to have it on for things that are in the node_modules directory (cause thats where it ends up) and that makes sense to me. This error... man... no sense
15 replies
defineNuxtPlugin is not defined
Thanks so much @unai - You were totally right on. I found the note in the docs after posting here - not sure how I missed that. Thanks again for clearing that up.
I am now getting a really odd error on the application implementing my code:
ERROR: Could not resolve "#imports"
It gripes about this in three composables. I've tripled checked and I don't think they are being used outside of a setup function.15 replies
defineNuxtPlugin is not defined
It appears that you have to do something like:
in the plugin sort of like this: https://github.com/nuxt/image/blob/main/src/runtime/plugin.ts
15 replies
NuxtLink not working, getting console errors
There are a lot of things that could be happening here but its not NuxtLink that's causing it.
Can you provide more information:
- What mode are you rendering in?
- What do the two pages look like in code?
- Can you reproduce the error on Stackblitz?
7 replies