DEV Community

Sanjay Ojha
Sanjay Ojha

Posted on

What do you use for template inheritance when developing UI in HTML?

I do mostly back-end development, but this time I have to create UI using some UI Kit. I want to remain DRY and for this reason I want to use template inheritance, preferably in JavaScript.
What do you use in this situation? Do you use any build tool like webpack or task runner like gulp ? If yes, what do you recommend?
Note: I am not developing Node/Express application.

Top comments (3)

Collapse
 
anwar_nairi profile image
Anwar

I really recommand trying vuejs. Small learning curve, very effective.

Collapse
 
sethusenthil profile image
Sethu Senthil

This is why I use React where you can make your code modular.

Collapse
 
sanjayojha profile image
Sanjay Ojha

I know, but this is not a option here. After some research, I have started using nunjucks with gulp but still I am searching for some better options.

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

👋 Kindness is contagious

Engage with a sea of insights in this enlightening article, highly esteemed within the encouraging DEV Community. Programmers of every skill level are invited to participate and enrich our shared knowledge.

A simple "thank you" can uplift someone's spirits. Express your appreciation in the comments section!

On DEV, sharing knowledge smooths our journey and strengthens our community bonds. Found this useful? A brief thank you to the author can mean a lot.

Okay