Using the Handlebars precompiler, install the Handlebars npm package:
npm install -g handlebars
cd js/templates/
handlebars ./*.handlebars -f templates.js
refs: handlebars doc
Using the Handlebars precompiler, install the Handlebars npm package:
npm install -g handlebars
cd js/templates/
handlebars ./*.handlebars -f templates.js
refs: handlebars doc