Last active
July 19, 2017 12:30
-
-
Save UsabillaSuccess/1f51c6c3ef6c37b72dd06d95439b9dcb to your computer and use it in GitHub Desktop.
usbl-virtpageview-vuejs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import router from './router'; | |
router.afterEach((to, from) => { | |
// do your stuff | |
window.usabilla_live('virtualPageView'); | |
}); | |
new Vue({ | |
el: '#app', | |
router, | |
template: '<App/>', | |
components: { App } | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment