0
我现在在我的index.jade文件:多包括JADE文件
html
include head
body
include header
include main
include aside
// a bunch of other includes
include footer
我喜欢收到什么
html
include head.jade
body
+multiinclude('header','main','aside','footer')
但是,当我试图通过在混入参数包括指令它不工作:
mixin multiinclude(...includes)
each i in includes
include= i
它只是增加<include>header</include>
标签