How to generate dynamic html based on JSON?
问题 I am implementing server side rendering pages, For server side rendering I am using HTML, Node.js HandleBars. So From client side I am sending static HTML, JSON DATA. Handlebar will bind data with static page(In Node side). And in response I am getting HTML page with data. Structure Of Code Below: module.exports.renderTemplate = function (templateData, htmlSource) { // I am getting dynamicElement JSON // generate HTML dynamic element? // How to add with final HTML. template = Handlebars