- Production libraries
- Development libraries
Sample code: https://github.com/haitlc/react-admin-demo
- Clone Repo
git clone https://github.com/haitlc/ha-react-starter-kit.git
cd ha-react-starter-kit
- Remove git history and start a brand new repository:
Mac
rm -rf .git
git init
Windows
rd /s /q .git
git init
- Install dependencies
yarn
- Start development server
yarn start
Browse to http://localhost:3000
yarn storybook
browse http://localhost:9001/
Run in watch mode
yarn test
Test Coverage
yarn test --coverage
The format configuration is in /.prettierrc
.
You may need to install this Visual Studio Code plugin first, and press Alt+Shift+F
to format the code.
Webpack will be used for packing the production build
yarn build
The optimized and minified files will be generated in /build folder