I have a ejs file that I would like to include in my jade-based app but I don't know how.
I'm a little late here, but for those who searched this like I did:
There is a tool called html to jade: http://html2jade.org
It does not convert the embedded javascript part to pug/jade but it takes care of the html part and you can inject the js yourself.
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