Releases: nuxt-modules/tailwindcss
Releases · nuxt-modules/tailwindcss
v4.0.1
Switch from postcss-nested to postcss-nesting to respect CSS Nesting spec we supported with version 3 of the module.
v4.0.0
Tailwind 2 with PostCSS 8
PostCSS 8 is now possible thanks to @nuxt/postcss8! No more compatibility build to use the latest version of Tailwind now ✨
Make sure to read the installation steps.
Tailwind Just-In-Time
You may have heard about the Just-In-Time compilation mode of TailwindCSS, this version supports it, simply set the jit
option in your nuxt.config.js
:
export default {
buildModules: ['@nuxtjs/tailwindcss'],
tailwindcss: {
jit: true
}
}
With jit
option, our build on nuxtjs.org came from 40s to 7s ⚡