node.js - Insert all javascript files from a dir as scripts in Jade programmatically -
i have jade file index.jade
, have dir public\js
contains few js script files.
views index.jade public js a.js b.js ...
is there way automatically , programmatically include them scripts in index.jade
?
script(src='/js/a.js') script(src='/js/b.js') ...
Comments
Post a Comment