williamcruzme / vue-gates

🔒 A Vue.js & Nuxt.js plugin that allows you to use roles and permissions in your components or DOM elements, also compatible as middleware and methods.

Home Page:https://williamcruzme.github.io/vue-gates/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

You must specify a value in the directive. - is it possible to be able to pass empty v-permission ?

m7salam opened this issue · comments

I have a situation that I need to pass empty permission

but I keep getting the console.error You must specify a value in the directive.

so is this a must or this would be just a warning and is there a way to make the warning disappear ?

thanks

it's just a warning, not an error. You can use v-permission with an empty value.