Consider switching from Vetur to @volar-plugins/vetur for better performance
P粉043432210
P粉043432210 2023-10-25 23:07:01
0
2
685

VSCode issues the following warning

Detected Vetur enabled. Consider disabling Vetur and use @volar-plugins/vetur instead.

What is this used for? What do I need to do to turn it off

P粉043432210
P粉043432210

reply all (2)
P粉529245050

In the VScode extension, find "Vetur" and disable it. Reload VScode

Or you can use "Vetur" @volar-plugins/vetur in another way.

    P粉590428357

    TLDR: Uninstall Vetur and keep Volar (the official recommended extension).


    Volar is an official VScode plugin that was used a few months ago, so the core team is pushing for an officially supported plugin.
    It originally worked with Vue3, but will also work with Vue2.

    As described below:https://vuejs.org/guide/typescript/ Overview.html#ide-support

    There is also this github issue:https://github.com/vuejs/vetur /issues/3476#issue-1300202219


    By the way, the official page of the project

      Latest Downloads
      More>
      Web Effects
      Website Source Code
      Website Materials
      Front End Template
      About us Disclaimer Sitemap
      php.cn:Public welfare online PHP training,Help PHP learners grow quickly!