Using Handlebars.js templates as precompiled JS files
3 Replies
I’ve previously used Handlebars templates in projects, but only in the simple ways– i defined a <script> block as inline html templates, and used in my js code. However, i have a project where i need all the code, including html templates, as js files. Luckily Handlebars can do this, but we’ll need to set […]