CRA based application skeleton with TailwindCSS preconfigured with the help of croco.
Versions
- react-scripts v4.0.3
- TailwindCSS v2.0.3 (compat)
Tested with Win10.
- Deployment to Github Pages is configured with Github Actions
- Relative asset urls configured (works with with arbitrary domain)
- TailwindCSS is purged in prod build
To use the deployment workflow you should configure and access token as a secret for you GitHub repo. See details and additional config here.
First time, install dependencies with:
npm install
Start development server with hot module reloading:
npm start // [localhost:3000](localhost:3000)
Create a production build:
npm run build // assets will be generated in ./build folder
Launch the test runner in the interactive watch mode:
npm test
Get rid of CRA:
npm run eject
Note: this is a one-way operation. Once you eject
, you canβt go back!
MIT license Made with π