nestjs-mvc-tools
Version:
NestJS MVC Tools is a small set of tools designed to help you get started more easily with traditional web development approaches in NestJS.
16 lines (15 loc) • 655 B
TypeScript
import { DynamicModule, MiddlewareConsumer, NestModule } from "@nestjs/common";
import { NestMvcOptions } from "./nest-mvc.options";
/**
* NestJS MVC module providing server-side rendering capabilities.
* Integrates Edge.js templating, Vite asset pipeline, and CSRF protection.
*/
export declare class NestMvcModule implements NestModule {
configure(consumer: MiddlewareConsumer): void;
/**
* Registers the module synchronously with static configuration.
* @param options - Static configuration options for the module
* @returns Dynamic module configuration
*/
static forRoot(options?: NestMvcOptions): DynamicModule;
}