2016-12-05 32 views
0

試圖弄清楚如何讓我的模板解析不致於炸燬。如何用pug解析角度2模板

.modal.fade(#childmodal='bs-modal', bsmodal='', tabindex='-1') 

現在我得到一個解析錯誤,由於#childmodal我試過ref-childmodal但炸燬哈巴狗HTML裝載機爲好。我也將doctype html添加到文件的頂部無濟於事。

有什麼建議我能做些什麼來解決這個問題?

回答

0
doctype html 
.modal.fade('#childmodal'='bs-modal' 'bsmodal'='' 'tabindex'='-1')