Skip to content
项目

ModusCreateOrg/react-dynamic-route-loading-es6

在 GitHub 查看

关于

Auto chunking and dynamic loading of routes with React Router and Webpack 2

网站与应用开发

这些数字如何统计

可以做什么

  • Hot Module Replacement
  • ES6 Source debugging in Chrome with sourcemaps

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

React Router Dynamic Route Loading w/ Webpack 2 Chunks

Webpack 2 automatically splits routes in chunks (small bundles) and loads them on demand.

See the demo

Contains

Features

  • Tree shaking
  • Code Splitting
  • Hot Module Replacement
  • ES6 Source debugging in Chrome with sourcemaps
  • React Router
  • Yarn-friendly

##System Requirements Before installing the dependencies, make sure your system has the correct Node and Npm versions, otherwise you will get errors.

  • Node 6.x.x
  • Npm 3.x.x

Setup

$ npm install

Running

$ npm start

Build

$ npm run build

探索相关项目

加载中…