I am currently new to use MEAN stack with the following packages: https://github.com/linnovate/mean. However, after I had created the project and found that Jade is their default template engine.
Are there any good ways to convert those jade template to ejs with changing related settings in Express?
Thank you.
Inside app.js change:
to
then
Open your jade-based page on chrome browser.
Open the mouse context-menu on browser and select "inspect element".
Select the html tag and copy it as HTML.
Paste that HTML on your favorite HTML editor or any code editor.
Adjust some tags to fit to 'ejs'. For example, change 'block body' to '<%- body%> or change any data string to a data variable like {{data}} or & quot; to " ' ".
save the files with ejs instead of jade.