Register controllers, models, validators in provider #4176
Answered
by
MaximeMRF
sjorobekov
asked this question in
Help
-
Hi there, I want to make "installable" module, so wondering if it is possible to register all these things in provider or is there any other option? Thanks in advance |
Beta Was this translation helpful? Give feedback.
Answered by
MaximeMRF
Jun 12, 2023
Replies: 1 comment
-
Hello @sjorobekov You want to create a Adonisjs package ? This video explain how to develop a package for Adonis. I think it also cover the publishing of the package. You can extends some class like Request, Router ect.. or wrap a node lib, depend of what do you want to do. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
sjorobekov
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @sjorobekov
You want to create a Adonisjs package ?
This video explain how to develop a package for Adonis. I think it also cover the publishing of the package.
You can extends some class like Request, Router ect.. or wrap a node lib, depend of what do you want to do.