Registering providers and adding traits in V5 #1580
Unanswered
HemanthKodhanda
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
HI, I am new to Adonis and started learning with V5. I am looking add Adonis-Acl package, in V4 we register providers in app.js and add traits in models like blow.
const providers = [
...
'adonis-acl/providers/AclProvider',
...
]
const aceProviders = [
...
'adonis-acl/providers/CommandsProvider',
...
]
and more on https://www.npmjs.com/package/adonis-acl
how to achieve these in V5 like registering of providers, aliases and other steps mentioned on the package. As I am new, little confused b/w V4 and V5. please provide some help and direction on how to utilize packages in V5 which are developed for V4.
Beta Was this translation helpful? Give feedback.
All reactions