Reputation: 1223
I have a ejs file that I would like to include in my jade-based app but I don't know how.
Upvotes: 5
Views: 3799
Reputation: 667
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.
Upvotes: 3