Closed deanocean closed 1 year ago
I had the same issue as you and was using the same tailwind version.
I upgraded @nuxtjs/tailwindcss to ^5.0 and it fixed it.
note: Had to do a few other things as a result, install @nuxt/kit and change up my tailwind config a little bit as per the upgrade guide but it will tell you what you need to do when you run npm after upgrading.
edit: not sure if the nuxt/kit thing was because of this or because I also upgraded my npm
@htownson Thanks for answering! I just upgraded @nuxtjs/tailwindcss to ^5.0 and now it works!
I was trying to use important modifier according to official document of tailwindcss like
!font-bold
. But it's not working. I don't know whether it's a bug or I have something missing. I am using the default config of tailwindcss.Here is my
package.json