latelierco / vue-application-insights

MIT License
26 stars 9 forks source link

Vue 3.0 support #11

Open ux-engineer opened 4 years ago

ux-engineer commented 4 years ago

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.

ux-engineer commented 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...

ux-engineer commented 4 years ago

Now that Vue 3.0 has been marked as stable, how are you plans on upgrading for Vue 3.0 support?

hasan-hasanov commented 3 years ago

Are there any plans for this?

orjan commented 2 years ago

Can we somehow help out so we can add support for vue 3?

bas-a commented 1 year ago

Any news on this topic?

ebuzyuma commented 1 year ago

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

🥳