psyCOSMO
Img src through props.
Following the docs you can use a relative src for the image tag as the following, which then nuxt knows that it's a file that it should import in the build step, how can you add support for this kind of image importing in props?
4 replies
Nuxt UI late install
Hi there, I've started a new project for Nuxt with @Nuxt/tailwindcss then I've decided to add @Nuxt/Ui everything seemed okay, but now when I'm trying out the UModal my portal doesn't show, I've searched for a reason in the DOM and it seems that Nuxt UI has the tailwind classes but tailwind didn't output them in the watch/build step,
In response i've added
to the tailwind.config.js file, it does work but I worry about a large output file since it will output every single class name used in nuxt ui, even if some components are not used,
Is there any other solution to my problem, or should I worry not about the output size?
thanks 🙂
8 replies