New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vetur is not reading Vuetify type definition files from the right place #1385
Comments
@nekosaur FYI |
@lbssousa Please add some kind of reproduction steps of what your project setup looks like and which steps you take to get the error. |
I've setup an example project at https://github.com/lbssousa/vuetify-ts-example. You can see the problem in file If I keep my project's On the other hand, if I move/copy/symlink all |
Okay. This is not related to vetur. You need to add |
Now I realize what's going on... In my project, I have separate folders for both frontend and backend, and I currently have multiple frontend alternatives (e.g.: If I open folder I've tryed to copy one of my frontend folders' |
@octref this can be closed. It's unrelated to vetur. |
It seems to be relate to Vetur in that Vetur does not read Also a bug on Vuetify part -- vuetifyjs/vuetify#3943 Currently, after Got a solution by modifying // declare module '*.vue' {
// import Vue from 'vue'
// export default Vue
// }
declare module '*.vue' {
import "vuetify"
} |
Info
Problem
Vetur is unable to read Vuetify type definition files
alacarte.d.ts
,colors.d.ts
,index.d.ts
andlib.d.ts
from their current location (node_modules/vuetify/types
). Instead, it's trying to read them fromnode_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.The text was updated successfully, but these errors were encountered: