Closed peterennis closed 4 years ago
I'm using Vetur too! Great extension. I'm surprised that syntax highlighting isn't natively included in VS Code...
Anyway, this is expected. I'm not a Vue expert, but it's my understanding that Vue 2 templates had a "slot" attribute. They are deprecated in Vue 3, hence the warning. However, "slot" is a valid web component attribute, and since Ionic 4+ is built on web components, this warning is triggered. So, Vetur is right, but it's also wrong. :)
You can safely ignore it. If it bothers you, try turning off "Vetur > Validation: Template." Cheers!
VS Code Install recommended extension (Vetur) Shows error on slot Deprecated in Vue but still used in Ionic