angular4 template reference variable use pug template error

Home / Uncategorized / angular4 template reference variable use pug template error

Question:
angular4 template reference variable use pug template error.

hero.component.pug
//- ok

//- or

//- error
input(#heroName)

console

Uncaught Error: Template parse errors: There is no directive with "exportAs" set to "#heroName" ("

{{title}}

]#heroName="#heroName"/>

Leave a Reply

Your email address will not be published. Required fields are marked *