Reputation: 15788
I'm working with Vue and VS Code with vetur extension installed.
I've defined a MyClass
class with two public attributes. Inside the "script" section i'm able to get proper intelisense for the value
property.
But I cannot check intellisense nor typing enforcement inside the template. as the image below.
I should see only enabled
and number
.
How can I configure my VS Code to get this type enforcement on the template?
Upvotes: 18
Views: 7229