https://github.com/eggjs/egg-view-react
egg view plugin for react
https://github.com/eggjs/egg-view-react
egg egg-plugin egg-view react
Last synced: about 2 months ago
JSON representation
egg view plugin for react
- Host: GitHub
- URL: https://github.com/eggjs/egg-view-react
- Owner: eggjs
- License: mit
- Created: 2017-01-20T08:45:27.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2022-01-18T16:04:53.000Z (about 4 years ago)
- Last Synced: 2025-10-07T18:43:05.342Z (5 months ago)
- Topics: egg, egg-plugin, egg-view, react
- Language: JavaScript
- Size: 337 KB
- Stars: 91
- Watchers: 3
- Forks: 9
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: History.md
- License: LICENSE
Awesome Lists containing this project
README
# egg-view-react
[![NPM version][npm-image]][npm-url]
[![build status][travis-image]][travis-url]
[![Test coverage][codecov-image]][codecov-url]
[![David deps][david-image]][david-url]
[![Known Vulnerabilities][snyk-image]][snyk-url]
[![npm download][download-image]][download-url]
[npm-image]: https://img.shields.io/npm/v/egg-view-react.svg?style=flat-square
[npm-url]: https://npmjs.org/package/egg-view-react
[travis-image]: https://img.shields.io/travis/eggjs/egg-view-react.svg?style=flat-square
[travis-url]: https://travis-ci.org/eggjs/egg-view-react
[codecov-image]: https://img.shields.io/codecov/c/github/eggjs/egg-view-react.svg?style=flat-square
[codecov-url]: https://codecov.io/github/eggjs/egg-view-react?branch=master
[david-image]: https://img.shields.io/david/eggjs/egg-view-react.svg?style=flat-square
[david-url]: https://david-dm.org/eggjs/egg-view-react
[snyk-image]: https://snyk.io/test/npm/egg-view-react/badge.svg?style=flat-square
[snyk-url]: https://snyk.io/test/npm/egg-view-react
[download-image]: https://img.shields.io/npm/dm/egg-view-react.svg?style=flat-square
[download-url]: https://npmjs.org/package/egg-view-react
egg view plugin for react
## Install
```bash
$ npm i egg-view-react --save
```
## Usage
```js
// {app_root}/config/plugin.js
exports.react = {
enable: true,
package: 'egg-view-react',
};
```
## Configuration
see [config/config.default.js](config/config.default.js) for more detail.
## Example
React server side render example, please see [egg-react-webpack-boilerplate](https://github.com/hubcarl/egg-react-webpack-boilerplate)
## Questions & Suggestions
Please open an issue [here](https://github.com/eggjs/egg/issues).
## License
[MIT](LICENSE)