@nuxtjs/tailwindcss: v6.1.3
nuxt: v3.0.0
https://stackblitz.com/edit/nuxt-tailcss-utility-warn
@nuxtjs/tailwindcss
Clean terminal running Nuxt server
There is a warning regarding missing utility classes.
WARN 13:12:45
WARN warn - No utility classes were detected in your source files. If this is unexpected, double-check the content option in your Tailwind CSS configuration.
WARN warn - https://tailwindcss.com/docs/content-configuration
This happened on rc version of Nuxt 3 as well.
Although utility classes are working, So I do not know if it affects the classes generation or not, But I still considered opening an Issue just in case.
same here, didn't happen at first tho, but then started happening %)
tried editing tailwind.config as per Tailwind Docs
no luck so far
EDIT: the reason it didn't happen at first is because I had used a utility class in app.vue
, but then removed it so it gave me the warning.
this is happening because he is reading content in his tailwind.config files and did not find any classes.
do the following go to your app.vue and put an h1 class="text-red-500" and restart the service here the problem was that.
@luabraggion Thank you for the solution. It solves the issue for me.
Owner Name | nuxt-modules |
Repo Name | tailwindcss |
Full Name | nuxt-modules/tailwindcss |
Language | TypeScript |
Created Date | 2019-04-04 |
Updated Date | 2023-03-29 |
Star Count | 1285 |
Watcher Count | 12 |
Fork Count | 157 |
Issue Count | 57 |
Issue Title | Created Date | Updated Date |
---|