javascript - double parentecies doesn't work in jade -
this worked
.container each item in items li= item.name
but not this
.container each item in items li {{item.name}}
what's wrong here?
because each view engine has own syntaxe, ie: {{item.name}}
work ejs
, not jade
. way can use in jade
.container each item in items li= #{item.name}
Comments
Post a Comment