Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Node.js with Express: Importing client-side javascript using script tags in Jade views

app.set('view options', { locals: { scripts: ['jquery.js'] } });  // You can declare the scripts that you will need to render in EVERY page
 
PREVIOUS NEXT
Tagged: #Importing #javascript #script #tags #Jade #views
ADD COMMENT
Topic
Name
6+9 =