Our pages are not just pages, they are also modules, but with more responsibilities. Each page has a dedicate route and it should handle all subsequent routes with it's own subrouter. This way we can scaffold complex urls and grant each layer with a distinct set of responsibilities.
Let's start of with simply creating a subgenerator for the page, that creates an index page for that particular route and subrouter.
Our pages are not just pages, they are also modules, but with more responsibilities. Each page has a dedicate route and it should handle all subsequent routes with it's own subrouter. This way we can scaffold complex urls and grant each layer with a distinct set of responsibilities.
Let's start of with simply creating a subgenerator for the page, that creates an index page for that particular route and subrouter.