Wardan
Wardan
NNuxt
Created by Wardan on 11/16/2024 in #❓・help
Question about image tag and svgs in production
okay i see. thats also where i put my css and font files. glad i got that part right at least lol. tyvm for the explanation
15 replies
NNuxt
Created by Wardan on 11/16/2024 in #❓・help
Question about image tag and svgs in production
so when would the assets folder come in handy? what kind of stuff would i use it for?
15 replies
NNuxt
Created by Wardan on 11/16/2024 in #❓・help
Question about image tag and svgs in production
ty
15 replies
NNuxt
Created by Wardan on 11/16/2024 in #❓・help
Question about image tag and svgs in production
oh okay. i guess i said its hacky cause i didnt really understand why it worked fine without imports in a page but not a component
15 replies
NNuxt
Created by Wardan on 11/16/2024 in #❓・help
Question about image tag and svgs in production
Is it normal to throw svgs/images that are used in components in the public folder? idk this seems really weird and confusing to me
15 replies
NNuxt
Created by Wardan on 11/16/2024 in #❓・help
Question about image tag and svgs in production
Well using nuxtimg doesnt seem to work either, guess I'll stick with the chatgpt solution that seems a lil hacky but at least it works Still would love an explanation on why i cant use the assets folder in components without some weird solution
15 replies
NNuxt
Created by Tobija on 6/4/2024 in #❓・help
NuxtImage can't use images from /assets/ directory (when building)
did you ever find a solution for using the /assets dir? I notice that using img tag in a page will work but once I move it to a component img + assets dir breaks
7 replies