Vetur error with finding tsconfig.json or jsconfig.json

Viewed 5362

I keep getting an error with making new vue pages for my project. The error is saying:

Vetur can't find tsconfig.json or jsconfig.json in /xxxx/xxxxxx.

What would be the solution to fix this problem?

1 Answers

To create the file :)

See the docs

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