Skip to content

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

Notifications You must be signed in to change notification settings

nachten/react-tailwind-env

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 93.8%
  • JavaScript 4.7%
  • CSS 1.5%