How can I setup html template in hbs templating engine in nestjs application in the views folder

Viewed 6854

I Have images , css , and js files in my public folder and In my views folder I have handlebars(hbs) formatted files in the nest.js application. How can I access images , css , and files in .hbs files.

1 Answers

if you want to handle hbs files in nest.js, you should install hbs moulde using command npm install hbs. after installation your problem will be solved

Related