pug - How to use angular2 html binding in jade? Specifically a([router-link]=["/Default"]) -


so have issue mentioned in title.

jade compiles

li([router-link]=\["/listen"\]) listen

to

<li [router-link]="/listen">listen</li>

where need

<li [router-link]=["/listen"]>listen</li>

i tried escaping \ won't compile. should use global mixins or there way?

http://html2jade.org/

try : li([router-link]='["/listen"]') listen


Comments

Popular posts from this blog

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

angular2 services - Angular 2 RC 4 Http post not firing -