-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
Open
Labels
contribution welcomefeature requestgood first issuehas PRwarningsrelated to development warningsrelated to development warnings
Description
What problem does this feature solve?
I just spent way too long debugging something really weird until I realized I accidentally wrote :v-if
instead of v-if
.
A warning when wrongly using shorthands like :
on "native" vue attributes could prevent this bad experience easily.
What does the proposed API look like?
:v-if="foo"
--> 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.)
dealloc, faheel, leopiccionia, asanchezalbert, alextarrell and 18 more
Metadata
Metadata
Assignees
Labels
contribution welcomefeature requestgood first issuehas PRwarningsrelated to development warningsrelated to development warnings