Skip to content

A playground/starter for React and Ant Design library

Notifications You must be signed in to change notification settings

dxps/ant-design-playground

Repository files navigation

Ant Design playground

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

Getting Started

Quick Start

  • 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

Scripts

# 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
Acknowledgements

Many thanks to Justin-lu's starter for the initial base of this playground.

About

A playground/starter for React and Ant Design library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published