feat: add vue-nuxt-permission module#1402
Conversation
Adds vue-nuxt-permission to the modules listing. - npm: https://www.npmjs.com/package/vue-nuxt-permission - Repo: https://github.com/keroloszakaria/vue-nuxt-permission - Docs: https://vue-nuxt-permission.surge.sh Closes nuxt#1400
|
No actionable comments were generated in the recent review. 🎉 📝 WalkthroughWalkthroughAdds a new module descriptor file Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@modules/vue-nuxt-permission.yml`:
- Line 3: The maintainer GitHub handle is cased inconsistently: update the
maintainers[0].github value from "KerolosZakaria" to the canonical lowercase
"keroloszakaria" to match the repo field and ensure profile links resolve
correctly; locate the maintainers array in modules/vue-nuxt-permission.yml and
change the github value for the first maintainer accordingly.
- Around line 3-6: Remove the unsupported duplicate github field and fix the
icon value: delete the github entry that contains
"https://github.com/keroloszakaria/vue-nuxt-permission" since the repo:
keroloszakaria/vue-nuxt-permission already encodes that, and update the icon
from the bare identifier "lock" to a filename with an extension (e.g.,
"lock.svg" or "lock.png") so the registry schema is satisfied.
Adds
vue-nuxt-permissionto the Nuxt modules listing.Module Info
What it does
A unified permission management system for Vue 3 and Nuxt 3/4 that provides:
v-permissiondirective — show/hide DOM elements based on user permissionsusePermission()composable — reactive permission checking with async support (auto-imported in Nuxt)and,or,not,startWith,endWith,regexCloses #1400