Vetur is not reading Vuetify type definition files from the right place
See original GitHub issueInfo
- Platform: Linux
- Vetur version: 0.22.0
- VS Code version: 1.37.0
Problem
Vetur is unable to read Vuetify type definition files alacarte.d.ts
, colors.d.ts
, index.d.ts
and lib.d.ts
from their current location (node_modules/vuetify/types
). Instead, it’s trying to read them from node_modules/vuetify/lib
.
If I copy/symlink manually these files to node_modules/vuetify/lib
, Vetur read them as expected, but vue-cli fails to build my project.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Vetur is not reading Vuetify type definition files ... - Issuehunt
It seems to be relate to Vetur in that Vetur does not read tsconfig.json in the right place, when it is modified. Also...
Read more >vue.js - Vetur is not reading the function name correctly when ...
I was able to work around this issue today by either moving the click handler to the same line that the tag is...
Read more >Frequently asked questions — Vuetify
My application is not working. First, ensure that you're using the latest version of Vue. js and Vuetify. Try to reproduce it in...
Read more >Vue JavaScript Tutorial in Visual Studio Code
For a richer Vue.js development environment, you can install the Vetur extension ... Put the cursor over the App , right click and...
Read more >How to Setup Vue.js with VS Code and Fix Formatting and ES ...
When you create a Vue.js project with the Vue CLI or UI and select Prettier - you'll have a bunch of ES Lint...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@octref this can be closed. It’s unrelated to vetur.
It seems to be relate to Vetur in that Vetur does not read
tsconfig.json
in the right place, when it is modified.Also a bug on Vuetify part – https://github.com/vuetifyjs/vuetify/issues/3943
Currently, after
tsconfig.json
correction, there isthis.$vuetify
inmain.ts
, but not inApp.vue
.Got a solution by modifying
shims-vue.d.ts
;