egg-webpack-react
v3.0.0
Published
egg webpack development for react
Downloads
191
Readme
egg-webpack-react
Support React Server Side Render File Memory Read for egg-webpack and egg-view-react-ssr. when the local development, wepback memory read the way to cover the local file read logic.
Install
$ npm i egg-webpack-react --save-dev
Version
- 3.x.x > Node 8
- 2.x.x > Node 6
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
- React TypeScript Server Side Render Example, Please See egg-react-typescript-boilerplate
- React Server Side Render Framework Example, Please See res
Questions & Suggestions
Please open an issue here.