đź”’ 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.
Hi, it's an awesome package, congratz.
Can you implemented a way to use directive like v-role in the same way of vue v-if.
Let me explain, the v-if don't render the element in DOM if the condition is false.
The directive implemented now like v-role or similar, renderer the element and process the condition for removing that.
Any ideas for making this goal?
EDIT:
Searching on SO i've found this hack for reaching the goal:
Hi, it's an awesome package, congratz. Can you implemented a way to use directive like v-role in the same way of vue v-if. Let me explain, the v-if don't render the element in DOM if the condition is false. The directive implemented now like v-role or similar, renderer the element and process the condition for removing that.
Any ideas for making this goal?
EDIT:
Searching on SO i've found this hack for reaching the goal:
Thanks