1
- # egg-view
2
-
3
- [ ![ NPM version] ( https://img.shields.io/npm/v/egg-view.svg?style=flat-square )] ( https://npmjs.org/package/egg-view )
4
- [ ![ NPM quality] ( http://npm.packagequality.com/shield/egg-view.svg?style=flat-square )] ( http://packagequality.com/#?package=egg-view )
5
- [ ![ NPM download] ( https://img.shields.io/npm/dm/egg-view.svg?style=flat-square )] ( https://npmjs.org/package/egg-view )
6
-
7
- [ ![ Continuous Integration] ( https://github.com/egg/egg-view/actions/workflows/nodejs.yml/badge.svg )] ( https://github.com/egg/egg-view/actions/workflows/nodejs.yml )
8
- [ ![ Test coverage] ( https://img.shields.io/codecov/c/github/egg/egg-view.svg?style=flat-square )] ( https://codecov.io/gh/egg/egg-view )
1
+ # @eggjs/view
9
2
3
+ [ ![ NPM version] ( https://img.shields.io/npm/v/@eggjs/view.svg?style=flat-square )] ( https://npmjs.org/package/@eggjs/view )
4
+ [ ![ NPM quality] ( http://npm.packagequality.com/shield/@eggjs/view.svg?style=flat-square )] ( http://packagequality.com/#?package=@eggjs/view )
5
+ [ ![ NPM download] ( https://img.shields.io/npm/dm/@eggjs/view.svg?style=flat-square )] ( https://npmjs.org/package/@eggjs/view )
6
+ [ ![ Continuous Integration] ( https://github.com/eggjs/view/actions/workflows/nodejs.yml/badge.svg )] ( https://github.com/eggjs/view/actions/workflows/nodejs.yml )
7
+ [ ![ Test coverage] ( https://img.shields.io/codecov/c/github/eggjs/view.svg?style=flat-square )] ( https://codecov.io/gh/eggjs/view )
8
+ [ ![ Node.js Version] ( https://img.shields.io/node/v/@eggjs/view.svg?style=flat )] ( https://nodejs.org/en/download/ )
9
+ [ ![ PRs Welcome] ( https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square )] ( https://makeapullrequest.com )
10
+ ![ CodeRabbit Pull Request Reviews] ( https://img.shields.io/coderabbit/prs/github/eggjs/view )
10
11
11
12
Base view plugin for egg
12
13
@@ -15,7 +16,7 @@ Base view plugin for egg
15
16
## Install
16
17
17
18
``` bash
18
- $ npm i egg- view --save
19
+ npm i @eggjs/ view
19
20
```
20
21
21
22
## Usage
@@ -24,7 +25,7 @@ $ npm i egg-view --save
24
25
// {app_root}/config/plugin.js
25
26
exports .view = {
26
27
enable: true ,
27
- package: ' egg- view' ,
28
+ package: ' @eggjs/ view' ,
28
29
};
29
30
```
30
31
@@ -258,20 +259,25 @@ exports.view = {
258
259
};
259
260
```
260
261
261
- see [ config/config.default.js ] ( https://github.com/eggjs/egg- view/blob/master/config/config.default.js ) for more detail.
262
+ see [ config/config.default.ts ] ( https://github.com/eggjs/view/blob/master/src/ config/config.default.ts ) for more detail.
262
263
263
264
## Questions & Suggestions
264
265
265
266
Please open an issue [ here] ( https://github.com/eggjs/egg/issues ) .
266
267
267
268
## License
268
269
269
- [ MIT] ( https://github.com/eggjs/egg-view/blob/master/LICENSE )
270
+ [ MIT] ( LICENSE )
271
+
272
+ ## Contributors
273
+
274
+ [ ![ Contributors] ( https://contrib.rocks/image?repo=eggjs/logrotator )] ( https://github.com/eggjs/logrotator/graphs/contributors )
270
275
276
+ Made with [ contributors-img] ( https://contrib.rocks ) .
271
277
272
278
[ eggjs ] : https://eggjs.org
273
279
[ ejs ] : https://github.com/mde/ejs
274
280
[ egg-view-ejs ] : https://github.com/eggjs/egg-view-ejs
275
- [ egg-view ] : https://github.com/eggjs/egg- view
281
+ [ egg-view ] : https://github.com/eggjs/view
276
282
[ nunjucks ] : http://mozilla.github.io/nunjucks
277
283
[ egg-view-nunjucks ] : https://github.com/eggjs/egg-view-nunjucks
0 commit comments