Open stephane303 opened 1 month ago
Correct TypeScript Configuration
{ "extends": "@vue/tsconfig/tsconfig.web.json", "compilerOptions": { "moduleResolution": "node", "types": ["vite/client"], "skipLibCheck": true, "module": "ESNext" }, "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"] }
{ "extends": "@vue/tsconfig/tsconfig.web.json", "compilerOptions": { "moduleResolution": "node", "types": ["vite/client"], "skipLibCheck": true, "module": "ESNext" }, "include": ["src//*.ts", "src/*/.d.ts", "src//*.tsx", "src/*/.vue"] }
Which file ? I have
tsconfig.json
tsconfig.node.json
tsconfig.app.json
The demo project was created with pnpm create vue
I tried your config in tsconfig.json, but that does not help.
Using version 2.0.16
Using version 2.0.16
not working either ....
i have the same issue too and not using typescript
Vue - Official extension or vue-tsc version
vue-tsc: 2.1.6
VSCode version
1.94.1
Vue version
3.5.11
TypeScript version
5.4.5
System Info
package.json dependencies
Steps to reproduce
<TheWelcome>
on line 11What is expected?
The file TheWelcome.vue is open
What is actually happening?
The cursor just move to
components: { HelloWorld, TheWelcome }
in the same fileLink to minimal reproduction
https://github.com/stephane303/vue-vscode-issue
Any additional comments?
No response