Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 987 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 987 Bytes

react-tailwind-env

An example of a custom bit react env with basic support for tailwindcss

This is based on a live coding session you can find here This has been slightly updated since the live session, but watching the session should give you a good understanding of what there is here.

See the already exported components in https://bit.dev/shohamgilad/tailwind-test/

requirements

This repo has recently changed to use new APIs of bit available only from version 0.0.426 or higher.

components

tailwind-react

A custom env which extend the core react aspect and transform its webpack config to support tailwind css.

tailwind-styles

A simple component to add the core of tailwind css styles

tailwind-button

A simple button component that uses the tailwind-styles component, and use some tailwind builtin classes It's build using the tailwind-react env described above