cd HTML_template_generator
npm i
To start the project, run:
npm run dev
To build the css real time
npm run build:css
To build the template on real time.
npm run watch
** You will get the templates on /templates directory
Finally if you want to get the whole template you can run
npm run build
/src/components
directory. You can see example there already as Head.html
/src/pages/
as .ejs
extension<%- include('../components/Head.html') %>
/pages/index.ejs
.server.js
. You can make route on your own.app.get("/", (req, res) => {
res.render("pages/Index");
});