Open digitalkaoz opened 6 months ago
i have a feeling its linked to https://github.com/jpkleemans/vite-svg-loader/pull/117 ?
I'm thinking this issue might be tied to the nitro server, which seems to struggle with importing file types like .png
and .svg
. If we're looking to work with raw files on the server, it might be a good idea to look into using a file system package, such as fs
or fs-extra
.
im having trouble using this in None-Vue-Code (still nuxt3 but on the serverside)
the error im getting:
so i guess the loader is not active everywhere? i guess it should?
doing the same in a vue component works flawless!
using a different loader technique (
none
in this case):