Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using express without a template engine

Is it possible to create an express (node) application without the need for a template engine such as jade or ejs. I've got a large final year project at university and i'm going to be using node, express, socket.io, mongoDB and websockets. I don't want to burden myself with having to learn a templating language too!

By default express uses jade -t, --template add template support (jade|ejs). default=jade

like image 719
Jack Avatar asked Sep 06 '11 10:09

Jack


1 Answers

Is it possible to create an express (node) application without the need for a template engine such as jade or ejs

Yes it is. You can just use HTML. Or just use EJS. EJS is a superset of HTML.

I don't want to burden myself with having to learn a templating language too!

You can learn a templating language in a day. It's really going to help you. Just do it. It's worth it.

like image 98
Raynos Avatar answered Oct 15 '22 18:10

Raynos