Skip to content

Nuxt 3 and Tailwind CSS 3 support

Pre-release
Pre-release
Compare
Choose a tag to compare
@pi0 pi0 released this 08 Feb 00:05
· 376 commits to main since this release

This is a prerelease

You can try v5 by installing @nuxtjs/tailwindcss@5.0.0-4 with the package manager of your choice.

πŸ› Some bugs are expected with this release. Please open an issue if had trouble with v5 upgrade.

▢️ Play online

⚠ BREAKING CHANGES

  • Nuxt 3 is supported
  • TailwindCSS upgraded to v3 (thanks to PR by @dargmuesli πŸ’š ). Read more about changes in Tailwind upgrade guide.
  • JIT mode is enabled by default. You can remove jit option if was already using
  • ~tailwind.config import renamed to #tailwind-config when importing the generated Tailwind config in the application
  • (Module authors) tailwindcss:config hook is being called when modules are being installed for more predictable building behavior. Any module extending tailwind config should be installed before tailwindcss module

Features