Skip to content

How to utilize service providers in Adonis v5? #1421

Answered by thetutlage
msrumon asked this question in Help
Discussion options

You must be logged in to vote

And why this can't live within a regular Javascript class? And then just import it inside your controller?

Yes, there aren't any docs on providers. But you can check the packages source code to get some sense of them until docs are written

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@thetutlage
Comment options

@msrumon
Comment options

@thetutlage
Comment options

@msrumon
Comment options

@msrumon
Comment options

Answer selected by msrumon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants