项目作者: remarkablemark

项目描述 :
React quickstart examples.
高级语言: HTML
项目地址: git://github.com/remarkablemark/react-quickstart.git
创建时间: 2016-07-10T17:56:33Z
项目社区:https://github.com/remarkablemark/react-quickstart

开源协议:MIT License

下载


react-quickstart

Quickstart examples using React.

This is recommended only for quick prototyping and not for production use.

Download

  1. $ git clone https://github.com/remarkablemark/react-quickstart.git
  2. $ cd react-quickstart

Examples

React:

  1. $ git checkout master
  2. $ open index.html

State:

  1. $ git checkout state
  2. $ open index.html

Context:

  1. $ git checkout context
  2. $ open index.html

ES6:

  1. $ git checkout es6
  2. $ open index.html

Flux:

  1. $ git checkout flux
  2. $ open index.html

Redux:

  1. $ git checkout redux
  2. $ open index.html

ReactRouter:

  1. $ git checkout react-router
  2. $ open index.html

Firebase:

  1. $ git checkout firebase
  2. $ open index.html

Webpack:

  1. $ git checkout webpack
  2. $ npm install
  3. $ npm run build
  4. $ open index.html

Webpack Dev Server:

  1. $ git checkout webpack-dev-server
  2. $ npm install
  3. $ npm run dev
  4. $ open http://localhost:8080

License

MIT