Open ux-engineer opened 4 years ago
I'd need to acccess $appInsights
from current Vue instance on a composable function with Vue Composition API.
import { getCurrentInstance } from '@vue/composition-api';
...
const root = getCurrentInstance();
console.debug('root', root);
However, I can't find $appInsights anywhere in this logged Vue instance.
PS. This might be different with actual Vue 3 release, as @vue/composition-api
is for using this new advanced API as backported for using with Vue 2...
Now that Vue 3.0 has been marked as stable, how are you plans on upgrading for Vue 3.0 support?
Are there any plans for this?
Can we somehow help out so we can add support for vue 3?
Any news on this topic?
If you still struggling and wondering, or just found this issue, there is now another package available with vue 3 support:
https://www.npmjs.com/package/vue3-application-insights
🥳
Have you been planning on upgrading to Vue 3.0?
Release Candidate period seem to be closing soon and official 3.0 should be out in a matter of a week or a few.