标签: node.js express templates pug
我想要类似的行为:
ListView.pug
mixin ListView(list) ul each x of list li hello #{x} block
index.pug
include ListView +ListView(['1','2','3']) b x //how can I achieve this?
这应该显示一个列表:
在哈巴狗这可能吗?