Tailwind v1.0 compatibility
See original GitHub issueHi @bradlc, great work on creating this babel plugin. I am building my website using Gatsby and following the starter demo for Gatsby + Emotion + Tailwind (https://github.com/jlengstorf/gatsby-tailwind-demo). It works great with Tailwind v0.7.4.
I was poking around Tailwind site and noticed that Adam is planning a release of v1.0 soon and there are some changes in the way the config files are setup (especially in the theme area). I tried to use the beta v3 release with your plugin and run into an issue when I try to call the new color classes e.g. bg-gray-300
I get a TypeError: Cannot read property 'gray-300' of undefined
. I am guessing this is related to how the config file structure has changed. I could be wrong but would love your input on this. Thanks.
Issue Analytics
- State:
- Created 4 years ago
- Comments:64 (17 by maintainers)
Top GitHub Comments
Hey @Shaderpixel and @davecalnan
v1 support is very nearly done on the
next
branch. The main thing left to do is to update the static styles. I will try to publish it to npm this week under thenext
tag.Still got a bit to do but here’s an initial version for anyone wanting to try it out 🎉 https://github.com/bradlc/babel-plugin-tailwind-components/releases/tag/v1.0.0-alpha.2