This is my playground of using the wonderful Ant Design library with React.
It uses:
- hot reloading / browser-sync / redux devtools on dev build
- minify / chunkhash / trackJS on production build
- eslint (automatically triggered during dev and before a commit)
- unit test of react/redux
- es6/webapck
- sass support
- isomorphic-fetch
- mock data
- example app, currently used for demo-ing
antd
components
- Clone it:
git clone https://github.com/visvadw/ant-design-playground.git
- Install the dependencies:
npm install
- Start:
- the mock server using
npm run start:mock
- and the dev server using
npm run start
- the mock server using
# Start the dev server (with test/lint)
npm run start
# start a simple mock server
npm run start:mock
# production start with browser-sync server
npm run start:prod
# build the production release
npm run build
# run the tests
npm run test
# generate test cover report
npm run test:cover
Many thanks to Justin-lu's starter for the initial base of this playground.