addded draft for permissions
This commit is contained in:
parent
e58bccb6e8
commit
21b051bac3
|
@ -51,6 +51,15 @@ Vue.directive('focus', {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
/*
|
||||||
|
// Check permissions on route-level
|
||||||
|
// Passed via 'meta: {perms: ['auth', 'admin']}' on routes definition
|
||||||
|
router.beforeEach((to, from, next) => {
|
||||||
|
console.log(to)
|
||||||
|
next()
|
||||||
|
})
|
||||||
|
*/
|
||||||
|
|
||||||
/* eslint-disable no-new */
|
/* eslint-disable no-new */
|
||||||
new Vue({
|
new Vue({
|
||||||
el: '#app',
|
el: '#app',
|
||||||
|
|
Loading…
Reference in New Issue