Closed ecastillo closed 2 years ago
Are you supposed to remove require('postcss-nested'),
in this case?
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.
Just a heads up; will check this out later this week. Thanks!
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.