A problem in that project use vue with typescript #9710
Replies: 1 comment 3 replies
-
// tsconfig.ts add
{
"compilerOptions": {
"target": "ESNext",
"useDefineForClassFields": true,
"module": "ESNext",
"moduleResolution": "Node",
"strict": true,
"jsx": "preserve",
"resolveJsonModule": true,
"isolatedModules": true,
"esModuleInterop": true,
"lib": ["ESNext", "DOM", "DOM.Iterable"],
"skipLibCheck": true,
"allowSyntheticDefaultImports": true,
"noEmit": true,
"allowJs": true,
"paths": {
"@/*": ["./src/*"]
},
"types": ["@vue/runtime-core"]
},
} |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
surkaa
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When using Vue+ts in WebStorm, the compiler always has this problem that has bothered me for a long time. In fact, not only WebStorm, but also vscode will report the same error. I have consulted a lot of information and found various solutions, but I don’t know. Why is mine always unavailable?
Extended Information:
My code repository: https://github.com/surkaa/error-demo
Beta Was this translation helpful? Give feedback.
All reactions