Skip to content

v6.12.0

Compare
Choose a tag to compare
@ineshbose ineshbose released this 17 Apr 17:16
· 39 commits to main since this release

compare changes

It's here. First-class HMR πŸ”₯

After working on rewriting how the config gets loaded, the module went through a big internal rewrite for us to support native module invalidation for your configuration files; this means that you can make changes to your Tailwind configuration files without restarting your Nuxt server. This comes with ZERO breaking changes, but you may face a warning in your console that may not allow you to use this latest feature:

image

To eliminate this, check where you are using Tailwind plugins in your project (either in nuxt.config, a hook, or a module such as nuxt/ui), and rather than passing these plugins into the inline module configuration, create a separate config file that you can pass to the configPath option of the module (not required if you provide this in tailwind.config as the module already picks that). If you are unable to resolve this, you can also specify quiet: true to the module configuration while a dependency module may provide a release with this update.

We have tested this rewrite intensively and will appreciate feedback on these changes, delivering any bugfixes with this as soon as possible. Thank you for your patience ❀️

πŸš€ Enhancements

  • First class HMR (#818)

πŸ“– Documentation

  • Update configuration docs (#827)
  • Use new nuxi module add command in installation (#829)
  • Update classRegex, closes #824 (#824)

🏑 Chore

  • Remove unneeded postcss-custom-properties plugin (#836)
  • Migrate to eslint v9 (#834)
  • Update deps (87fb919)

❀️ Contributors