如何处理 JADE Script 内嵌问题_百度知道
最佳答案: 字符串的话可以像 var test = #{currentMode}; 写的这样,不过要加上引号 var test = '#{currentMode}';其余的类型先转成 JSON 再传吧更多关于jade内联script没有渲染的问题>>
Jade 模板引擎使用 - CNode技术社区
会被渲染成为 <p>hello world</p> <p>hello world</p>以下代码效果相同...includes/head.jade head title 我的网站 script(src='/javascripts/jquery.js...