This project is based on create-react-app.
git clone https://github.com/muhajirframe/react-tailwind-emotion-starter
cd react-tailwidn-emotion-starter
npm start
npm run build
- It uses babel-plugin-tailwind-components
- Add globals to eslint. So we can use
tw
globally. - tailwind configuration is located in
src/tailwind.js
. Becausecreate-react-app
doesn't support importing file from outsidesrc
- Got a question? Submit an issue
- Make a pull request
- (vscode-tailwind-styled-snippets)[https://github.com/muhajirframe/vscode-tailwind-styled-snippets]. If you're a Visual Studio Code. This plugin will definitely help. It was build with
babel-plugin-tailwind-component
+react-emotion
/styled-components
in mind
Enjoy!