mirror of
https://github.com/Maks1mS/nestjs-telegraf.git
synced 2025-01-11 14:48:10 +03:00
Update installation.md
This commit is contained in:
parent
ca3683af95
commit
94383aa9a2
@ -6,14 +6,14 @@ slug: /
|
|||||||
---
|
---
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ npm i nestjs-telegraf telegraf
|
$ npm i @maks1ms/nestjs-telegraf telegraf
|
||||||
```
|
```
|
||||||
|
|
||||||
Once the installation process is complete, we can import the `TelegrafModule` into the root `AppModule`.
|
Once the installation process is complete, we can import the `TelegrafModule` into the root `AppModule`.
|
||||||
|
|
||||||
```typescript title="src/app.module.ts"
|
```typescript title="src/app.module.ts"
|
||||||
import { Module } from '@nestjs/common';
|
import { Module } from '@nestjs/common';
|
||||||
import { TelegrafModule } from 'nestjs-telegraf';
|
import { TelegrafModule } from '@maks1ms/nestjs-telegraf';
|
||||||
|
|
||||||
@Module({
|
@Module({
|
||||||
imports: [
|
imports: [
|
||||||
|
Loading…
Reference in New Issue
Block a user