0.0.5 • Published 7 years ago
generator-react-kylin v0.0.5
generator-react-kylin
generator-react-kylin
will help you create new React-Webpack projects.
It includes:
- react@15.x
- webpack@1.x
- webpack-dev-server@1.14.x
- ant-design@2.x
- babel@6.5.x
- react-hot-loader@1.3.x
- react-redux@5.x
- react-router@3.x
- redux@3.6.x
Installation
$ npm install -g yo
$ npm install -g generator-react-kylin
Create your project
# Create a new directory, and `cd` into it
$ mkdir react-project && cd react-project
# run
$ yo react-kylin
If you install the
yarn
, just pressCtrl+C
(windows) /Command+C
(MacOS) to stop thenpm install
, just typeyarn install
to install.
Usage
# Development Mode (hot-reload not reload the whole page)
$ npm run dev
# Production Mode
$ npm run build
# ESLint Fix style
$ npm run fix