Skip to content

Releases: nuxt-modules/tailwindcss

v3.0.1

24 Aug 13:38
Compare
Choose a tag to compare

v3.0.0

05 Aug 10:23
Compare
Choose a tag to compare

⚠ BREAKING CHANGES

  • build.postcss.plugins as Array 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 minimal tailwind.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

29 Jul 10:15
Compare
Choose a tag to compare

Upgrade Tailwindcss to v1.6.0

v2.1.0

20 Jul 12:59
Compare
Choose a tag to compare

Misc ✨

  • Upgrade dependencies (TailwindCSS to v1.5.1).

If a new version of TailwindCSS goes out, you can always install it with npm install --save-dev tailwindcss, the module will use it directly.

Bug fixes 🐞

  • Force production env for postcss on nuxt build (977d605)

v2.0.0

30 Apr 17:09
Compare
Choose a tag to compare

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'
    ]
  }
}

v1.4.1

22 Apr 09:06
Compare
Choose a tag to compare
  • Upgrade dependencies and use Tailwind v1.3.4

v1.4.0

11 Mar 09:38
Compare
Choose a tag to compare

Features

  • Add exposeConfig option to reference resolved config in javascript runtime (PR #69)

See demo and source code

Chore

  • Upgrade dependencies

v1.3.3

18 Feb 14:33
Compare
Choose a tag to compare

v1.3.2

06 Feb 12:24
Compare
Choose a tag to compare
  • Upgrade to Tailwind v1.2 (#60)
  • Fix override PurgeCSS "enabled" option (#59)

v1.3.1

15 Jan 19:44
Compare
Choose a tag to compare

Fix a regression: PurgeCSS stopped working after upgrade to v.1.3.0

Related Issues: #52 and #54