Skip to content

Vue 2 Compat Guides

山吹色御守 edited this page Oct 1, 2025 · 9 revisions

We dropped support for Vue 2 as planned in v3.1.0, see https://github.com/vuejs/language-tools/discussions/5455. To allow developers in VSCode to work on both Vue 2 and Vue 3 projects without switching between different extensions, we introduced the vue.server.path setting, which lets developers specify the version of the Vue Language Server within their workspace.

Steps:

  1. Install the @vue/language-server package:

    "devDependencies": {
      "@vue/language-server": "~3.0.0"
    }
  2. Add the following configuration to .vscode/settings.json:

    "vue.server.path": "node_modules/@vue/language-server"
Clone this wiki locally