Skip to content

Commit

Permalink
Add support for Tailwind CSS 2.0
Browse files Browse the repository at this point in the history
This change adds support for Tailwind CSS v2.0. Before this change, your package manager of choice would complain about an unmet peer dependency if it was used it with Tailswind CSS 2 or newer.

The blog post and the upgrade guide do not mention any changes for plugins, I also verified the functionality in a project of mine. Everything still works as expected as far as I can see. :)

https://blog.tailwindcss.com/tailwindcss-v2
https://tailwindcss.com/docs/upgrading-to-v2
  • Loading branch information
nTraum committed Nov 19, 2020
1 parent a0b27a9 commit 8ece70c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"homepage": "https://github.com/jorenvanhee/tailwindcss-debug-screens",
"bugs": "https://github.com/jorenvanhee/tailwindcss-debug-screens/issues",
"peerDependencies": {
"tailwindcss": "^1.0"
"tailwindcss": "^1.0 || ^2.0"
}
}

0 comments on commit 8ece70c

Please sign in to comment.