Metronic Theme - Vue (Latest version)
I get alot of errors/notifications inside Visual Studio Code by TS.
- Open ApiService.ts
- Cannot find module 'vue' or its corresponding type declarations.ts(2307)
- Cannot find module 'axios' or its corresponding type declarations.ts(2307)
What causes this problem? Typescript version? How to solve it?
Unfortunately, we were not able to reproduce this issue in the latest Metronic version. These imports don't throw any errors. It might be related to your Visual Studio Code used extension or configuration. Could you please specify which vue extensions are you using in your Visual Studio Code?
You might have an error with Visual Studio Code when using a Volar extension it might highlight some components, to fix this you can refer to the GitHub issue below.
Keenthemes Support Team