Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
usbl-virtpageview-vuejs
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