https://github.com/vincecao/cra-enhanced-template
One enhanced template for `create react app`, with root importing, react-app-rewired, tailwindcss, prettier commit hook features
https://github.com/vincecao/cra-enhanced-template
husky react-app-rewired tailwindcss template
Last synced: 2 months ago
JSON representation
One enhanced template for `create react app`, with root importing, react-app-rewired, tailwindcss, prettier commit hook features
- Host: GitHub
- URL: https://github.com/vincecao/cra-enhanced-template
- Owner: vincecao
- Created: 2020-11-27T11:21:42.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-02-07T07:04:52.000Z (over 4 years ago)
- Last Synced: 2025-01-15T06:47:56.329Z (4 months ago)
- Topics: husky, react-app-rewired, tailwindcss, template
- Language: JavaScript
- Homepage: https://vincecao.github.io/CRA-Enhanced-Template
- Size: 400 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Create React App - Enhanced Template
For Typescript version, please check [CRA-Enhanced-Template-typescript](https://github.com/vincecao/CRA-Enhanced-Template-typescript)
## Live Demo
[Demo Template](https://vincecao.github.io/CRA-Enhanced-Template/)
_(currently host on branch `demo` with Github Action)_
## Description
This template add following features:
* style with `tailwindcss-v2`, `postcss-8` & `autoprefixer-10`
* `jest`, `eslint` & `react-app-rewired` fitting same alias configs for importing path from root
* `prettier`, `husky` & `lint-staged` for formatting with commit hook## Development
``` bash
yarn# Development, tailwindcss purge -> enabled: false, size ~ Size: 3.9MB
yarn start# Production, tailwindcss purge -> enabled: true, size ~ Size: 13.04KB
yarn buildyarn test
```# License
MIT