I am developing an application with the MEAN stack and am really not liking 'Jade'. I find myself just using an HTML to Jade translator a lot and would just rather write in HTML.
How do I not use Jade in an Express project?
Also, could someone explain what a templating engine is and why one is needed?
You can set:
app.use(express.static(__dirname + '/public'));
in your config file instead to use just vanilla HTML.
As the previous response, templating engines allow you to set more dynamic content and write less code.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With