Answer the question
In order to leave comments, you need to log in
How to set up the ejs templating engine for local development (no node.js server, express, etc.)?
How to correctly write the npm run command for the template engine ( ejs , ejs-cli ) so that it collects different components from the components/ directory and renders everything into one final index.html file?
In the version from the ejs-cli documentation, the command
ejs-cli --base-dir components/ "**/*.ejs" --out dest/
takes all the necessary files and simply compiles them into different HTML files in a different directory. Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question