I installed the nodeJS server using the Express web framework using the EJS template engine.
When I try to use the link_to view assistant inside the view, I get a reference error. Is it because I'm doing something wrong, or are view viewers only not included?
I tried the following
<# link_to("...", "...") #> <#= link_to("...", "...") #> <#- link_to("...", "...") #>
Note. I have configured custom tags for EJS ...
server.configure(function () { this.set("view engine", "ejs"); this.set("view options", { open: "<#", close: "#>" }); });
source share