Skip to content

Commit 97b8634

Browse files
committed
docs(readme): add info about installing type-graphql
1 parent d5f7ff8 commit 97b8634

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,16 @@ Allows to use TypeGraphQL features while integrating with NestJS modules system
1111

1212
## Installation
1313

14+
First, you need to instal the `typegraphql-nestjs` module along with `@nestjs/graphql`:
15+
1416
```sh
1517
npm i typegraphql-nestjs @nestjs/graphql
1618
```
1719

18-
or
20+
If you haven't installed it yet, it's time to add `type-graphql` into the project:
1921

2022
```sh
21-
yarn add typegraphql-nestjs @nestjs/graphql
23+
npm i type-graphql
2224
```
2325

2426
## How to use?

0 commit comments

Comments
 (0)