Skip to content
loading...

What is the best Node.js template engine?

mayankjoshi profile image mayank joshi twitter logo github logo ・1 min read  

Little curious (11 Part Series)

1) How does dev.to choose which post should be on the top? 2) Is PHP Dying? 3 ... 9 3) Have you ever used COBOL? 4) What is a project, you are really proud of? 5) If you were a recruiter, what would be your recruiting criteria? 6) What are the weird things people ask you, when they comes to know you are a developer? 7) What is your favourite operating system? 8) What is the best Node.js template engine? 9) A feature upgrade for the dev platform 💡 10) What rest API authentication method do you prefer? 11) What is the new tech stack you learned during Quarantine?

I just started learning express and there came a point where I was learning how to design forms. Now, there are various template engines you can use to parse the HTML.

Hence I am curious to know:
  1. What template engine do you use & why?
  2. Which one is the most popular template engine?
twitter logo DISCUSS (3)
Discussion
markdown guide
 

I remember I really enjoyed using pugjs. I hate HTML for angle brackets and a requirement to close tags.

 

I have a question than how do we apply CSS and moreover how can I take and use already designed bootstrap template from the internet and use it?

 

Easy.

style.
  h1 {
    color: red;
  }

For using ready-made templates, you have to use a converter, like html2jade.org/

Classic DEV Post from Jul 26 '19

🎩 JavaScript Enhanced Scss mixins! 🎩 concepts explained

In the next post we are going to explore CSS @apply to supercharge what we talk about here....

mayank joshi profile image
I love system design and most of the time I find myself learning or designing one of them.