Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/muhajirdev/react-tailwind-emotion-starter

React + Tailwind + Emotion
https://github.com/muhajirdev/react-tailwind-emotion-starter

react react-starter reactjs tailwindcss

Last synced: about 2 months ago
JSON representation

React + Tailwind + Emotion

Awesome Lists containing this project

README

        

# React Tailwind Emotion Starter

This project is based on [create-react-app](https://github.com/facebook/create-react-app).

## Usage

```
git clone https://github.com/muhajirframe/react-tailwind-emotion-starter
cd react-tailwidn-emotion-starter
```

### Development

```
npm start
```

### Build

```
npm run build
```

## How it was made?
- It uses [babel-plugin-tailwind-components](https://github.com/bradlc/babel-plugin-tailwind-components)
- Add globals to eslint. So we can use `tw` globally.
- tailwind configuration is located in `src/tailwind.js`. Because `create-react-app` doesn't support importing file from outside `src`

## For more information

- [Create React App](https://github.com/facebook/create-react-app)

## Contributing

- Got a question? [Submit an issue](https://github.com/muhajirframe/react-tailwind-emotion-starter/issues/new)
- Make a pull request

## Related

- (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!**