Easy way to write a react component. The react component template.
- support ant-design
- support starting a local server to debug
- support living lint
- support umd
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.(http://127.0.0.1:8000/demo)
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