Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Warn if colon shorthand is used on v-if/v-html/etc. #10191
What problem does this feature solve?
I just spent way too long debugging something really weird until I realized I accidentally wrote
A warning when wrongly using shorthands like
What does the proposed API look like?
--> console.warn("You specified v-bind:/ v-on: or a corresponding shorthand on a Vue attribute like v-if or similar. Usually this does not make sense.)