I installed vue-msal and all dependencies listed but I get the following errors when trying to follow the examples.
Could not find a declaration file for module 'vue-msal'. '/Vue/mdi-webclient/node_modules/vue-msal/dist/plugin.js' implicitly has an 'any' type.
Try npm install @types/vue-msal if it exists or add a new declaration (.d.ts) file containing declare module 'vue-msal';
This occurs on the line : import msal from 'vue-msal'
I tried adding declaring the module but then I get the error with 'this.$msal' afterwards.
Issue was with my installation apparently. I uninstalled vue and reinstalled it. I created a 'msal.d.ts' type file to correct the error and now it works.
I installed vue-msal and all dependencies listed but I get the following errors when trying to follow the examples.
Could not find a declaration file for module 'vue-msal'. '/Vue/mdi-webclient/node_modules/vue-msal/dist/plugin.js' implicitly has an 'any' type. Try
npm install @types/vue-msal
if it exists or add a new declaration (.d.ts) file containingdeclare module 'vue-msal';
This occurs on the line : import msal from 'vue-msal'
I tried adding declaring the module but then I get the error with 'this.$msal' afterwards.
New to vuejs so i'm using latest install.
Please let me know if i'm missing anything.