I keep getting an error with making new vue pages for my project. The error is saying:
Vetur can't find
tsconfig.json
orjsconfig.json
in /xxxx/xxxxxx.
What would be the solution to fix this problem?
I keep getting an error with making new vue pages for my project. The error is saying:
Vetur can't find
tsconfig.json
orjsconfig.json
in /xxxx/xxxxxx.
What would be the solution to fix this problem?
To create the file :)
// tsconfig.json
{
"compilerOptions": {
"target": "esnext",
"module": "esnext",
// this enables stricter inference for data properties on `this`
"strict": true,
"jsx": "preserve",
"moduleResolution": "node"
}
}
package.json
:) –
Turner tsconfig.json
and paste the content from the answer. –
Turner vue create
does not provide this file automatically. That being said, I'm not familiar with how they (Vetur and vue-cli) work. –
Vidal © 2022 - 2024 — McMap. All rights reserved.