Vue / Typescript, got Module '"*.vue"' has no exported member Vue / Typescript, got Module '"*.vue"' has no exported member vue.js vue.js

Vue / Typescript, got Module '"*.vue"' has no exported member


You can drop the { } from your import. It’s a default export, so then you write import IBasic from "@/../containers/Basic"


You can try to use ktsn/vuetype than will generate custom declaration file for every your component file, instead of using default shims-vue.d.ts declaration.


I had this same problem and realize that despite of no having errors on my IDE, the error was still thrown so I just Restart the server and it works perfectly... I have to do this every time I created a import or export anything with TS.