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

Implement global Router.prototype.afterEach hook #88

Closed
enyancc opened this issue Aug 20, 2015 · 2 comments
Closed

Implement global Router.prototype.afterEach hook #88

enyancc opened this issue Aug 20, 2015 · 2 comments
Labels

Comments

@enyancc
Copy link

enyancc commented Aug 20, 2015

Is it possible to have afterEach hook for the router globally? My use case, for example, to report to google analytics that user successfully navigated to the new page and track a new pageview.

@swannknani
Copy link

+1

@enyancc
Copy link
Author

enyancc commented Aug 23, 2015

Thanks!

-----Original Message-----
From: "Evan You" notifications@github.com
Sent: ‎23.‎08.‎2015 05:02
To: "vuejs/vue-router" vue-router@noreply.github.com
Cc: "Sergii Naumov" egonyans@gmail.com
Subject: Re: [vue-router] Implement global Router.prototype.afterEach hook(#88)

Closed #88 via bfc2cea.

Reply to this email directly or view it on GitHub.

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

No branches or pull requests

3 participants