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

Failing to load minified js #23

Closed
aschalund opened this issue Jan 18, 2018 · 2 comments
Closed

Failing to load minified js #23

aschalund opened this issue Jan 18, 2018 · 2 comments

Comments

@aschalund
Copy link

Having a weird issue with loading this into my project.

Uncaught TypeError: n.afterEach is not a function at d (vue-analytics.min.js?394b:1)

I am including the plugin as directed in the readme but when i run my main application it crashes on the above error.

Hope you can help. Let me know what else you would like to see.

@ScreamZ
Copy link
Owner

ScreamZ commented Jan 19, 2018

It depends on the instance of vueRouter you are passing to the config

Are you passing a true vue-router ?

@aschalund
Copy link
Author

I was able to resolve this with a change to my router call.

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

2 participants