Skip to content
Discussion options

You must be logged in to vote

i had same frustration before. the problem is extension conflicts.

fix:

  1. disable Vetur completely - its for vue 2 and conflicts with vue 3
  2. only keep "Vue - Official" extension (this is the new one, replaces volar)
  3. remove "Vue language features (Volar)" - its merged into Vue Official now

so you should only have ONE extension: Vue - Official

for eslint/prettier:

use the new @vue/eslint-config-prettier:

npm create vue@latest my-app
# select yes for typescript, eslint, prettier

this sets up everything correctly. the cli now uses flat eslint config.

your eslint.config.js should look like:

import pluginVue from "eslint-plugin-vue"
import vueTsEslintConfig from "@vue/eslint-config-typescript"
i…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@UP-MDK
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@UP-MDK
Comment options

Answer selected by UP-MDK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants