Solution to the error "Target version mismatch. You can specify the target version in ..."

After the vue project was introduced into the VScode editor, the editor's automatic detection assistant reported the following error:

Solution: Configure the target attribute in the project's jsconfig.json, and the value is the Vue version in the project: 

// jsconfig.json 文件
{
  //...其他配置项
  "vueCompilerOptions": {
    "target": 2.7
  }
  
}

Guess you like

Origin blog.csdn.net/FunSober/article/details/127623858