Render

Route handler method Decorator. Defines a template to be rendered by the controller.

See more...


 @Render(template: string)

Parameters

Option Type Description
template string

name of the render engine template file

Returns

MethodDecorator

See also

Description

For example: @Render('index')