Description
Version
@nuxtjs/tailwindcss: 6.11.3
nuxt: 2.17.2
node.js: 20.9.0
Reproduction Link
https://codesandbox.io/p/devbox/optimistic-wind-nslnd6
Steps to reproduce
run yarn preview:prod
(NODE_ENV=production yarn generate && yarn start
)
I was able to get this problem running on the simplest of examples with no custom tailwind.config.js, which does tell me I'm likely doing something wrong. However, our code ran fine on Netlify for many months until a recent dependency upgrade.
I attempted, but was unable to find the last working combination of versions nuxt, plugin, and node.
What is Expected?
Styling should be the same for a simple example of background gradient between development and static generation.
What is actually happening?
When running yarn dev
, the background gradient works fine. However, as a statically generated site, the style does not apply. The issue persists across Edge, Chrome, Safari.