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

Alias not supporting arguments

anony253 opened this issue · comments

<!-- Alias -->
<button v-can="'add articles'">Add Article</button>
Check for any permission in a list:
<button v-permission:any="'add articles|edit articles'">Configure</button>

you can't actually use v-can:any but would be really nice

Resolved in v2.0.0! 🎉