Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

appInsights object not found in vue component #6

Open
zeeshan09 opened this issue Dec 3, 2019 · 2 comments
Open

appInsights object not found in vue component #6

zeeshan09 opened this issue Dec 3, 2019 · 2 comments

Comments

@zeeshan09
Copy link

I'm trying to access the appInsights object inside my vue component, but I'm not able to.
I tried the 'this.$appInsights' but it comes as undefined. I'm using vue with typescript. What should I do, please help.

@DavidDeSloovere
Copy link

Is this at run time of build time?

@Jorgelig
Copy link
Contributor

this

What is the scope of 'this'? you can save this instance outside the local scope and use it within your function

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants