How to use script. in JADE templates
问题 I have created a simple node app using the express framework using JADE templating. All was well in the learning process until I came to try and run some client-side js which I cannot figure out how to do. Is there something I need to do in my app/index.js to tell node about them? Any help would be much appreciated. Thanks index.jade extends layout block content h1 Title script. console.log("I am running on the client"); app.js var http = require("http") var express = require("express") var