1.0.0 • Published 4 years ago
ors-react v1.0.0
ORS React
Generate a variety of react applications through schematic.
Features
- Reusable webpack chain configuration and Babel configuration based on best practices
- Generates boilerplate: react16+webpack5+babel7+eslint+prettier
- Optional development language: ts
- Optional css language: less || scss
- Optional features: css moudle、redux、router
- Optional ui lib: ant-design
- Css processing: special browser prefix completion and flex bug fix
- Dev server integrating react hot load、response data mock、api proxy
- Preview server for built files
- Only polyfill the used api
- Lint and format the code in the pre-commit phase
Installation
npm:
npm install -g @angular-devkit/schematics-cli npm install --save-dev ors-react
yarn:
yarn global add @angular-devkit/schematics-cli yarn add -D ors-react
Usage
schematics ors-react:app
1.0.0
4 years ago