Answers for "can you incldue an ejs partial in html"

6

how to include in ejs

<%- include('./partials/nav.ejs') %>
Posted by: Guest on May-27-2020
0

ejs include dynamic partial

<%- include(page) %>
  // OR //
<%- include('partials/'+page) %>
Posted by: Guest on December-21-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language