Home / Admin / om-vue.js
Duplicate Snippet

Embed Snippet on Your Site

om-vue.js

Code Preview
js
// Using Vue Router.
import Vue from 'vue';
import Router from 'vue-router';
Vue.use(Router);
const router = new Router ({
// Your vue router settings.
});
router.beforeEach((to, from, next) => {
    if (window.om5678_1234) {
        window.om5678_1234.reset();
    }
    next();
});
export default router;

Comments

Add a Comment