Asset Manager in modules


I have a question for the Asset Manager: I would like the resources (JS, CSS, etc.) take a modular basis. How and where can I notify the asset manager that the resources should be loaded from the respective module? And what is about the routing? => e.g. app / modules / module / assets / css / styles.css

Greetings Mario


Hi, you can define the "assets" service in the module definition isolating the assets by module:

You can set a different base uri for static resources per module: