$ npm i vue-permission --save
import VuePermission 'vue-permission';
Vue.use(VuePermission);
Vue.permission.authorize({'create': true, 'del': false});
Vue.permission.hasPermission('del'); // console.log(false);
// if u don't has permission the button will not show. and style display none.
<button v-permission='create'></button>
Please open an issue here.