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 to get data, ask for advice! Thank you