Skip to content

webpack4 + react16 + react-router4 + mobx4 + ant design

Notifications You must be signed in to change notification settings

dujun-bot/react-starter-kit

 
 

Repository files navigation

react-starter-kit

React Ant Design Mobx

演示地址:https://beverle-y.github.io/react-starter-kit

Quick Start

Down

git clone https://github.com/bevelery/react-starter-kit.git

Install

yarn install

Dll

第一次运行需要打包vendor,仅运行一次。当依赖改变时需重新打包。

npm run dll

Run

npm start

Build

npm run build

发布CDN(推荐)

将project.config.js内publicPath改为服务器绝对路径。

发布静态资源

若没有CDN,只能发布静态资源,需修改webpack配置,将所有文件放置在同一目录下。

Log

2018-05-11

  • update webpack 3 to 4.8.1

    • development (time):4.8s -> 3.8s
    • production (time):11.5s -> 5.4s
    • size:916kb -> 747kb
    • refresh:-100ms

2018-03-29

  • 全局Loading
  • message提示

2018-03-28

  • 修复Right缺少route props

About

webpack4 + react16 + react-router4 + mobx4 + ant design

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 83.4%
  • CSS 15.0%
  • HTML 1.6%