Tailwind dynamic color class doesn't work
Hello, I have this component:
MyComponent.vue
And
ui.config.ts
But as you can see the colors not showing
1 Reply
is
ui.config.ts
in the root folder? if you take a look here (if you're using the nuxt plugin), you can see where it looks for tailwind classes by default https://tailwindcss.nuxtjs.org/tailwind/config#default-configuration and it does not look for *.ts in the root folderNuxt TailwindCSS
Config - Nuxt Tailwind
This module comes with a default Tailwind configuration file to provide the best possible user experience.