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
In a new Nuxt 3 project, I integrated the module. During build time, it generates icons under root/assets/sprite/etc..., but at runtime, it expects them in root/src/assets. It's seems to be working, when I generate the icons in root/assets/sprite/gen and then copy them to root/src/assets/sprite. I saw that it is generating a wrong path in .nuxt/svg-sprite.mjs
As a temporary solution, I'm using an alias.
The text was updated successfully, but these errors were encountered:
Having the same problem. While module's setup hook does care about configured nuxt aliases, nitro:init hook responsible for generating and scanning icon directories ignores user alias configuration:
In a new Nuxt 3 project, I integrated the module. During build time, it generates icons under root/assets/sprite/etc..., but at runtime, it expects them in root/src/assets. It's seems to be working, when I generate the icons in root/assets/sprite/gen and then copy them to root/src/assets/sprite. I saw that it is generating a wrong path in .nuxt/svg-sprite.mjs
As a temporary solution, I'm using an alias.
The text was updated successfully, but these errors were encountered: