Because Vue 3 now sends in an object and not a function when setting up a plugin, there is an error thrown from using the .prototype call in the install function. This PR identifies if Vue 3 is being used, and if that is the case it uses Vue.provide('appInsights'... to make appInsights available to other parts of the application.
Because Vue 3 now sends in an object and not a function when setting up a plugin, there is an error thrown from using the .prototype call in the install function. This PR identifies if Vue 3 is being used, and if that is the case it uses Vue.provide('appInsights'... to make appInsights available to other parts of the application.