Skip to content

Enable Tailwind's nesting plugin#144

Merged
jeffreyvr merged 2 commits intotailpress:masterfrom
ecastillo:patch-1
Sep 15, 2022
Merged

Enable Tailwind's nesting plugin#144
jeffreyvr merged 2 commits intotailpress:masterfrom
ecastillo:patch-1

Conversation

@ecastillo
Copy link
Copy Markdown
Contributor

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.

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
Copy link
Copy Markdown

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

Remove postcss-nested because it's included in tailwindcss/nesting.
@ecastillo
Copy link
Copy Markdown
Contributor Author

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
Copy link
Copy Markdown
Member

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

@jeffreyvr jeffreyvr merged commit dc84983 into tailpress:master Sep 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants