Closed aaaee2 closed 3 years ago
Working on trying to find an alternative to app.set('views')
, will update soon
Found the issue, for now on you will be able to use MVC techniques and this module alongside, will update this week to version 2.0
Hello, @aaaee2
Please try the latest version (2.0.3), I've modified the way redoc it's served from nestjs app, now it doesn't interfere with views directory.
nestjs-redoc
rewrites views directory base path and templates engine of the application, ruining Nest MVC techniques: https://docs.nestjs.com/techniques/mvc#model-view-controllerNest:
nestjs-redoc (https://github.com/mxarc/nestjs-redoc/blob/master/src/redoc-module.ts#L97):
Because of this, it is not possible to use
nestjs-redoc
and render project own pages at the same time.