在 Jade ,input(type='text' placeholder='Type in text')
产生语法错误。什么是正确的语法?
最佳答案
你需要一个逗号:
input(type='text', placeholder='Type in text')
https://github.com/visionmedia/jade/blob/master/examples/attributes.jade
快乐编码!
关于pug - 使用 Jade 为元素添加多个属性,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8406702/