search

Home  >  Q&A  >  body text

Consider switching from Vetur to @volar-plugins/vetur for better performance

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粉043432210P粉043432210454 days ago860

reply all(2)I'll reply

  • P粉529245050

    P粉5292450502023-10-26 17:41:30

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

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

    reply
    0
  • P粉590428357

    P粉5904283572023-10-26 15:28:49

    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

    reply
    0
  • Cancelreply