This is a sample repo to show the error 2551 of Vetur (VSCode extension)
- Clone the repo
- Run
npm i
- Open the folder with VSCode and open the file
src/Errors.vue
- Wait until everything is loaded
- Observe the error Veture(2551) on line 8 & 9 but not on line 10
- Indent line 8 or 9 once => error still there
- Indent same line again => error vanishes
- Remove
(...)
from the function call on the other line => error vanishes - Add
()
to the function call on line 10 => error appears