You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import permission from './permission'
|
|
|
|
const install = function (Vue) {
|
|
Vue.directive('permission', permission)
|
|
}
|
|
|
|
if (window.Vue) {
|
|
window['permission'] = permission
|
|
Vue.use(install) // eslint-disable-line
|
|
}
|
|
|
|
permission.install = install
|
|
export default permission
|