You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tried restarting VS Code or running Vetur: Restart VLS
Info
Platform: Windows 10
Vetur version: v0.36.0
VS Code version: v1.71.0
Problem
Syntax highlighting fails for event handlers with colons in the event name.
For example, if I have a component <my-component> that emits an event as such: this.$emit("update:someValue", someValue),
then syntax highlighting will fail when I attach event handlers to <my-component> from the parent component.
Event names in the form "update:propName" are recommended by the Vue docs for events that update props, so this pattern should also be supported by Vetur.
Vetur: Restart VLS
Info
Problem
Syntax highlighting fails for event handlers with colons in the event name.
For example, if I have a component
<my-component>
that emits an event as such:this.$emit("update:someValue", someValue)
,then syntax highlighting will fail when I attach event handlers to
<my-component>
from the parent component.Event names in the form
"update:propName"
are recommended by the Vue docs for events that update props, so this pattern should also be supported by Vetur.Reproducible Case
The text was updated successfully, but these errors were encountered: