react
A SPA boilerplate with React , this cli is good for a large project because of the async router.
What's included
- React 15.3.1
- React-router
- JSX
- ES6
- Webpack
- Hot-Reload
- Proxy You can set up an agent to facilitate debugging .
Usage
The following commands are available in your project:
# Start for development npm start # or npm run serve # Start the dev-server with the dist version npm run serve:dist # Just build the dist version and copy static files npm run dist # Run unit tests npm test # Auto-run unit tests on file changes npm run test:watch # Lint all files in src (also automatically done AFTER tests are run) npm run lint # Clean up the dist directory npm run clean # Just copy the static assets npm run copy
TODO
- Responsive layout
- multiple css pre-processors : Sass Less
- router config
- cli