帮你快速基于 Koa + webpack + React + ES6 启动一个项目

7,141 阅读1分钟

a starter project structure for react-app

Dependencies

please use the latest version of following tools:

  1. React
  2. Webpack
  3. Babel
  4. Koa
  5. ES6

Running

Install dependencies

npm install

Build

npm run build

Start

npm start

Browse

Open your browser, and visit http://localhost:3000 to check the result