egg-webpack-react
egg webpack development for react
Last updated 20 days ago by hubcarl .
MIT · Repository · Bugs · Original npm · Tarball
$ cnpm install egg-webpack-react 
SYNC missed versions from official npm registry.

egg-webpack-react

NPM version build status Test coverage David deps Known Vulnerabilities npm download

Support react server side render file memory read for egg-webpack and egg-view-react. when the local development, wepback memory read the way to cover the local file read logic.

Install

$ npm i egg-webpack-react --save-dev

Usage

// {app_root}/config/plugin.js
exports.webpackreact = {
  enable: true,
  package: 'egg-webpack-react',
};

Configuration

// {app_root}/config/config.default.js
exports.webpackreact = {
};

see config/config.default.js for more detail.

Example

React server side render example, please see egg-react-webpack-boilerplate

Questions & Suggestions

Please open an issue here.

License

MIT

Maintainers (1)
Downloads
Today 0
This Week 12
This Month 33
Last Day 0
Last Week 16
Last Month 167
Dependencies (1)
  • co ^4.6.0
Dev Dependencies (10)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |