In my Nuxt project, I am using @nuxtjs/tailwindcss and vue-formulate. I have defined some styles for vue-formulate in a SCSS file which work perfectly when running nuxt --spa
. However, when I try to generate the project using nuxt generate
and serve it, the styles do not apply at all. After testing, it seems that the issue is related to @nuxtjs/tailwindcss. If I remove it from the buildModules
in my Nuxt config, everything works fine. How can I retain these styles without having to eliminate the purgecss step?