You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My dev server hangs on specific routes on page reload when I import and use components imported from #components. It seems like a Vite issue, but if I import the same component from it's direct location the issue is gone. It also applies to built-in components like NuxtLink.
Looking into this, I think this is likely due to the circular dependency of importing from#componentswithin a component which will be exposed through #components. It works in build, and within dev mode you can workaround with this config:
This bug can count as my top 5 most challenging bugs to debug I have ever encountered 🤣 But I enjoyed the process 📦
I wish I had known this sooner.. that way I might have enjoyed that few hours a bit more that I spent trying to reproduce this. 🤣
But at least I am glad I could contribute to that list 😉
Originally posted by @zsilbi in #13413 (comment)
The text was updated successfully, but these errors were encountered: