Skip to content

Quick sample code for using express-handlebars as a template engine in NestJS

License

Notifications You must be signed in to change notification settings

audiBookning/sample-nestjs-express-handlebars

Repository files navigation

Sample code - NestJS, express-handlebars

Part of a personal list of random samples code

Quick sample code for using express-handlebars as a template engine in NestJS

Notes

  • Uses Layouts, Partials and Helpers

Routes

Some routes to show different template engine features

  • http://localhost:3000/ : Basic use.

  • http://localhost:3000/name : How to use a simple helper.

  • http://localhost:3000/layout : How to change the layout used by the engine.

  • http://localhost:3000/array : How to display an array.

BuyMeACoffee

Buy Me A Coffee

Disclaimer

This code is not and will never be maintained. It is just some random sample code.

Feel free to copy and make any change you like.

License ISC © 2021 AudiBookning

About

Quick sample code for using express-handlebars as a template engine in NestJS

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published