React 17 with Typescript
This boilerplate is based on Altafino's React Template https://github.com/altafino/react-webpack-5-tailwind-2 I have modified it to add support for Typescript, TailwindCSS, Webpack 5
Features
- React 17
- Typescript with strict type checks enabled
- Path aliases for importing files
- Latest TailwindCSS with JIT support
- ESLint
- Husky Pre-commit Hook
- Multi environment support
- SVG Support
Acknowledgements
License
Installation
Recommended NodeJS version >= 12.x.x
git clone https://github.com/OmkarK45/react-typescript-scaffold myapp
cd myapp
yarn
Run locally
yarn start
Deploy/Build Command
yarn build
Creates an optimized build.
Environment Variables
This scaffold support Environment supports out of the box
For development Environment variables,
create .env.development
file at the root of folder.
For production build, create .env.production
file at the root of folder