How to use Node.js to build pages that are a mix between static and dynamic content?

前端 未结 7 1065
隐瞒了意图╮
隐瞒了意图╮ 2020-12-07 23:02

All pages on my 5 page site should be output using a Node.js server.

Most of the page content is static. At the bottom of each page, there is a bit of dynamic conten

相关标签:
7条回答
  • 2020-12-07 23:50

    Alternative you can just use jsDOM. This means you have a DOM object you can manipulate on the server to add your dynamic content, then you can just flush the DOM as a HTML file / string

    0 讨论(0)
提交回复
热议问题