how does the handlebar template engine bind events? The event I bound does not work
how does the handlebar template engine bind events? The event I bound does not work
try binding events with on
$(document).on('click','.classname',function(){});
when using express+hbs, routing incoming data needs to be used in the page js. My idea is to define the data as variables in the data, as follows: : is this way of thinking wrong? Or can only write an interface, js directly request the interface ...
I use handlebars to render html but the error is reported when it runs. Does anyone know why Error: 500 Internal Server Error Sorry, the requested URL http: 127.0.0.1:5432 caused an error: Internal Server Error Exception: SyntaxError( invalid...
egg Project template engine chooses handlebars, official website to provide egg-view-handlebars this library, but some problems are found in the process of using it: 1. This library defaults to app view partials as the local page folder, but I can...
Code directly is shown in the figure. is there any solution? ...
because there is a requirement now, the foreground page entry configured in layouts is main.handlebars. what should I do if I want the background entry to be configured here? No similar documents or instructions were found online. Please give me some...