whatwewant / generator-react-client-side

React Client Side Development Environment Generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

generator-react-client-side NPM version Build Status Dependency Status Coverage percentage

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 and ts-loader modules
  • 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
  • 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

License

MIT © Eason Smith

About

React Client Side Development Environment Generator

License:MIT License


Languages

Language:JavaScript 97.7%Language:HTML 2.3%