查找tsconfig.json或jsconfig.json时出现Vetur错误



我在为我的项目制作新的vue页面时一直遇到错误。错误是说:

Vetur在/xxxx/xxxxxxx中找不到tsconfig.jsonjsconfig.json

解决此问题的方法是什么?

要创建文件:(

参见文档

// tsconfig.json
{
"compilerOptions": {
"target": "esnext",
"module": "esnext",
// this enables stricter inference for data properties on `this`
"strict": true,
"jsx": "preserve",
"moduleResolution": "node"
}
}

最新更新