Easy way to write a react component.
- support ant-design
- support starting a local server to debug
- support umd
- support lint
git clone https://github.com/flutejs/react-component-example.git- modify package.json
- coding
- publish to npm
npm start: Start server to debug your code.
npm build: Build umd(in /dist) & translate your code to es3 by babel(in /lib).
npm run pub: Publish module to npm.
npm run lint