In the EJS-Mate readme, it is recommended that we utilize EJS includes; however unless I've configured something incorrectly I am unable to call <%- include('template',{local:'values'}) %>, instead getting an error: "Unable to find "('template',{local:'values'}).ejs"
However this works:
`<% local = 'values' %>
<%- include template %>
It doesn't seem to matter what I do. Am I missing some kind of obvious option to turn of EJS-mate's include? I'd prefer to use the EJS but I'm some what new to both EJS & EJS-Mate.
In the EJS-Mate readme, it is recommended that we utilize EJS includes; however unless I've configured something incorrectly I am unable to call
<%- include('template',{local:'values'}) %>, instead getting an error: "Unable to find "('template',{local:'values'}).ejs"However this works:
`<% local = 'values' %>
<%- include template %>
It doesn't seem to matter what I do. Am I missing some kind of obvious option to turn of EJS-mate's include? I'd prefer to use the EJS but I'm some what new to both EJS & EJS-Mate.