include in ejs code example
Example 1: include header and footer in ejs
<%- include('./partials/nav.ejs') %>
Example 2: ejs
npm install ejs //install ejs in cmd
<%- include('./partials/nav.ejs') %>
npm install ejs //install ejs in cmd