-
-
Save ralyodio/ceb9aed5c5ee5ff17f05 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
layout is not defined] path: undefined } ReferenceError: ejs:1 | |
>> 1| <% layout('../layout') -%> 2| <h1>Welcome to <%= appname %></h1> | |
3| <p>Hello <%= username %>!</p> 4| <p>We are excited to have you join <%= appname %>, where you can create a | |
nd share wishlists with your friends.</p> | |
layout is not defined | |
Here's a sample: | |
./templates/layout.ejs | |
<html> | |
<body> | |
<%- body %> | |
</body> | |
</html> | |
./templates/welcome.ejs | |
<% layout('../layout') %> | |
<h1>Welcome</h1> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment