How to convert a php file to hbs(handle-bars js) file?

:confused: Ok. Precompiling the templates is purely a performance improvement so shouldn’t change if something works or doesn’t work.

Take another look at post #8, save that content as index.html and run it. It will substitute the values of the variables into the template strings with {{variableName}}. That’s all handlebars is.

Then the answer’s the same, look at post #8 it contains a working example of Handlebars.