Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/h1bomb/egg-nextjs
Next.js plugin for Egg.js
https://github.com/h1bomb/egg-nextjs
egg-plugin nextjs
Last synced: 24 days ago
JSON representation
Next.js plugin for Egg.js
- Host: GitHub
- URL: https://github.com/h1bomb/egg-nextjs
- Owner: h1bomb
- License: mit
- Created: 2018-08-27T08:50:01.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-11-10T06:13:46.000Z (2 months ago)
- Last Synced: 2024-11-19T06:32:09.687Z (about 2 months ago)
- Topics: egg-plugin, nextjs
- Language: JavaScript
- Size: 1.01 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 69
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# egg-nextjs
Next.js plugin for Egg.js
[![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-image]: https://img.shields.io/npm/v/egg-nextjs.svg?style=flat-square
[npm-url]: https://npmjs.org/package/egg-nextjs
[travis-image]: https://travis-ci.org/h1bomb/egg-nextjs.svg?branch=master
[travis-url]: https://travis-ci.org/h1bomb/egg-nextjs
[codecov-image]: https://img.shields.io/codecov/c/github/h1bomb/egg-nextjs.svg?style=flat-square
[codecov-url]: https://codecov.io/github/h1bomb/egg-nextjs?branch=master
[david-image]: https://img.shields.io/david/h1bomb/egg-nextjs.svg?style=flat-square
[david-url]: https://david-dm.org/h1bomb/egg-nextjs
[snyk-image]: https://snyk.io/test/npm/egg-nextjs/badge.svg?style=flat-square
[snyk-url]: https://snyk.io/test/npm/egg-nextjs## Install
```bash
$ npm i egg-nextjs --save
```## Usage
```js
// {app_root}/config/plugin.js
exports.nextjs = {
enable: true,
package: 'egg-nextjs',
};
```## Configuration
```js
// {app_root}/config/config.default.js
exports.nextjs = {
};
```see [config/config.default.js](config/config.default.js) for more detail.
## Example
## Questions & Suggestions
Please open an issue [here](https://github.com/eggjs/egg/issues).
## License
[MIT](LICENSE)