jeffreyvr / tailpress

TailPress is a minimal boilerplate theme for WordPress using Tailwind CSS.
https://tailpress.io
MIT License
1.26k stars 159 forks source link

Enable Tailwind's nesting plugin #144

Closed ecastillo closed 2 years ago

ecastillo commented 2 years ago

Enable Tailwind's nesting plugin as described in the Tailwind docs: https://tailwindcss.com/docs/using-with-preprocessors#nesting. This allows custom nested classes to use Tailwind's modifiers.

laneparton commented 2 years ago

Are you supposed to remove require('postcss-nested'), in this case?

ecastillo commented 2 years ago

Are you supposed to remove require('postcss-nested'), in this case?

Yes, you're right! According to the Tailwind docs:

tailwindcss/nesting plugin, which is a PostCSS plugin that wraps postcss-nested

So it is no longer needed. I added another commit to remove it.

jeffreyvr commented 2 years ago

Just a heads up; will check this out later this week. Thanks!