A
A
Alexey Ivanov2018-06-19 00:55:40
Node.js
Alexey Ivanov, 2018-06-19 00:55:40

How to connect a file to express?

How to insert menu.ejs into the index.ejs file or are they combined at the render level? I just need to make a modular site, but it's not clear how to do it on ejs

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin Kitmanov, 2018-06-19
@sijuz

Answer in documentation: https://www.npmjs.com/package/ejs#includes

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question