File tree Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Original file line number Diff line number Diff line change 44
44
"@nestjs/common" : " ^7.4.2" ,
45
45
"@nestjs/core" : " ^7.4.2" ,
46
46
"@types/express-session" : " ^1.17.0" ,
47
+ "@admin-bro/express" : " ^3.0.0-beta.3" ,
47
48
"reflect-metadata" : " ^0.1.13" ,
48
49
"rxjs" : " ^6.5.3"
49
50
}
Original file line number Diff line number Diff line change
1
+ /**
2
+ * @module :@admin-bro/nestjs
3
+ *
4
+ * @description
5
+ * This is an official plugin which allows you to render AdminBro in [NestJS
6
+ * framework](https://nestjs.com/)
7
+ *
8
+ * ## Installation
9
+ *
10
+ * 1. First of all, install the AdminBro along with the module:
11
+ *
12
+ * ```
13
+ * yarn add admin-bro @admin-bro/nestjs
14
+ * ```
15
+ *
16
+ * 2. Once the installation process is complete, we can import the AdminBroModule
17
+ * into the root AppModule.
18
+ *
19
+ * ```
20
+ *
21
+ *
22
+ *
23
+ * import { Module } from '@nestjs/common';
24
+ * import { AdminModule } from '@admin-bro/nestjs';
25
+ *
26
+ * @Module ({
27
+ * imports: [
28
+ * AdminModule.createAdminModule({
29
+ * // module options
30
+ * }),
31
+ * ],
32
+ * })
33
+ * export class AppModule {}
34
+ * ```
35
+ */
36
+
1
37
import * as NestJSPlugin from './admin.module'
2
38
3
39
export * from './admin.module' ;
You can’t perform that action at this time.
0 commit comments