Thanks for your tutor.
But when I follow your code, it found a problem with ejs files. I've then added the ejs-lint package and "lint:ejs": "ejslint views/some-template.ejs" in the "scripts" of package.json (views is the folder of ejs files). It works, but not sure. Can this problem be solved?
By the way, if I use express-handlebars instead of 'express-ejs-layouts', is it the same code?
Hi Brad,
Thanks for your tutor. But when I follow your code, it found a problem with ejs files. I've then added the ejs-lint package and "lint:ejs": "ejslint views/some-template.ejs" in the "scripts" of package.json (views is the folder of ejs files). It works, but not sure. Can this problem be solved? By the way, if I use express-handlebars instead of 'express-ejs-layouts', is it the same code?