Incorrect "warning" Vetur - Vue.js - VSCode

1.7k Views Asked by At

My VSCode (Vetur) is displaying this warning, however the imported component is being used in the template.

Warning in import :

enter image description here

Component used :

enter image description here

Another issue is that the summaries are appearing in duplicate, as well as the CSS color thumbnails. I have already uninstalled some extensions and reviewed the settings but I couldn't find the option that causes this.

Color duplicate :

enter image description here

1

There are 1 best solutions below

1
tony19 On BEST ANSWER

Vetur is deprecated and doesn't actually support <script setup>. The Vue docs officially recommend Volar.

Uninstall Vetur, and use Volar instead.