Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

express set views directory

app.set('view engine','ejs');
app.set('views', path.join(__dirname, '/yourViewDirectory'));
 
PREVIOUS NEXT
Tagged: #express #set #views #directory
ADD COMMENT
Topic
Name
7+6 =