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

Popular posts from this blog

php - Using grpc in Laravel, "Class 'Grpc\ChannelCredentials' not found." -

github - Git errors while pushing -

c++ - How can I delete a QSharedPointer -