diff --git a/content/techniques/mvc.md b/content/techniques/mvc.md index e2d88e717d..21e58bb814 100644 --- a/content/techniques/mvc.md +++ b/content/techniques/mvc.md @@ -164,6 +164,7 @@ import { NestFactory } from '@nestjs/core'; import { FastifyAdapter } from '@nestjs/platform-fastify'; import { AppModule } from './app.module'; import { join } from 'path'; +import '@fastify/view'; // Needs to be imported to augment the fastify reply type with the view property async function bootstrap() { const app = await NestFactory.create(AppModule, new FastifyAdapter());