Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 870 Bytes

README.md

File metadata and controls

35 lines (25 loc) · 870 Bytes

A todo list demo of using Egg.js, React and MobX altogether.

This repository keeps all different "stages" of this demo, so you can see the "evolution" path of it.

Branches

  • master: update to SSR(server-side rendering).
  • v3: rewrite with Typescript. To use Typescript in Egg.js please check egg-ts-boilerplate.
  • v2: use egg-webpack for compile and hot reloading webpack in development, no SSR.
  • v1: the "raw" version, everything is independent.

Installation

$ git clone [email protected]:brickyang/egg-react-mobx-demo.git
$ cd egg-react-mobx-demo
$ npm install

Development

$ npm run dev

Production

$ npm run build
$ npm start
// open http://localhost:7001