frontend
frontend copied to clipboard
Application module loader
Description
Right now we are loading the modules directly at the router component (here) and I kind of don't like it, 'cause I do want to be able to load modules like Laravel's Service Providers (here). It means that every module should be able to bootstrap itself and do its own configurations.
UI Resource
None
API
None
Additional Information
MUST:
- [ ] Create a Module Provider
- [ ] All modules must be loaded directly from the Module Provider
- [ ] Modules must be able to add their own routes
- [ ] Modules must be able to add their own sidebar menus (if necessary)
DON'T:
- Dynamic load
Possible unknowns
I could think about some basic needs for now, but I think that we have some hidden requirements for this task. Mostly 'cause it will also affect other application regions, like the Sidebar and the Router itself.
Dependencies
None.