generator-react-client-side
v1.0.17
Published
Eason React Client Side Generator
Downloads
36
Maintainers
Readme
generator-react-client-side
Eason React Client Side Generator
Installation
First, install Yeoman and generator-react-client-side using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-react-client-side
Then generate your new project:
yo react-client-side
Then run your new project on develop mode
npm start
Or run your project on production mode
npm build
History
- 2016-12-22
- entry + output to modify output dirs/files
- support svg use react-svg-loader
- 2016-12-07
- support typescript with
typescript
andts-loader
modules
- support typescript with
- 2016-10-11
- add css module, please know more about css module before.
- add postcss: px2rem
- 2016-10-02
- +fix bug: add
file-loader
package - +update: build assets file path correct, like src/img/* => dist dist/img
- +update: add html-webpack-plugin for production mode, like copy index.html -> dist
- +fix bug:
- Problem:
Couldn't find preset "stage-0" relative to directory
- Solution:
http://stackoverflow.com/questions/34574403/how-to-set-resolve-for-babel-loader-presets
- Problem:
- +fix bug: add
- 2016-09-27
- fix bug: babel-polyfill
- support: sftp-webpack-plugin
- 2016-09-23
- add command to update config:
cd /path/to/YOUR_PROJECT; yo react-client-side --update
- update wepack config
alias
#inline-source-map
# js debug
- add command to update config:
License
MIT © Eason Smith