-4

I have no idea how we connect an html theme/template with node.js back-end ?

Uzam Hashmi
  • 143
  • 2
  • 5

2 Answers2

2

You should probably take a look at something called PugJS (https://pugjs.org). It is a templating engine for NodeJS, formerly known as Jade. It uses a different markup to HTML, but it's rendered into minified HTML when requested. It works best in conjunction with Express (https://www.npmjs.com/package/express). It renders variables and info passed from your backend too. It supports if statements and for loops.

Pal Kerecsenyi
  • 560
  • 4
  • 18
0

i can't explain this in one short message. But... i can support you. You tagged "angular" in your post, so... the easiest way is -> follow the steps in the "getting started" guides from a framework/tool. Here is the quick guide from angular. https://angular.io/guide/quickstart If you have after the guide any questions, your welcome.

Daniel Weiß
  • 119
  • 1
  • 3