Releases: nuxt-modules/tailwindcss
Releases · nuxt-modules/tailwindcss
v3.3.1
v3.3.0
v3.2.0
v3.1.0
v3.0.2
v3.0.1
- Upgrade to TailwindCSS 1.7.3
- Docs: add Upgrading Tailwind section
v3.0.0
⚠ BREAKING CHANGES
build.postcss.plugins
asArray
is not supported anymore
Features
We now have a documentation website: https://tailwindcss.nuxtjs.org
- The module will not create the tailwind files anymore but load them if they exist
@nuxtjs/tailwindcss
now configures the purge option of TailwindCSS and let the user extend it easily to keep a minimaltailwind.config.js
template- Nuxt modules can easily extend the user tailwind config (adding Typography plugin, settings colors, etc)
- Updating the
tailwind.config.js
will actually do a full Nuxt server restart but will actually fix the plugins update issue
v2.1.1
v2.1.0
v2.0.0
Version 2.0 is out, including TailwindCSS v1.4 ✨
This version is a breaking change since we actually removed nuxt-purgecss
dependency, since Tailwind 1.4 has a purge option now!
If you are upgrading, take a look at the new tailwind.config.js
:
// tailwind.config.js
module.exports = {
/* ... your actual config */,
purge: {
// Learn more on https://tailwindcss.com/docs/controlling-file-size/#removing-unused-css
enabled: process.env.NODE_ENV === 'production',
content: [
'components/**/*.vue',
'layouts/**/*.vue',
'pages/**/*.vue',
'plugins/**/*.js',
'nuxt.config.js'
]
}
}