I'm trying to load a css file in a custom module, to style a template file I'm rendering. I followed the basic steps:
global-styling:
version: 1.0
css:
layout:
css/rr_users.css: {}
dependencies:
- rr_users/global-styling
and
name: RR users module
description: Generates editing pages for users
package: Custom
type: module
core_version_requirement: ^9
libraries:
- rr_users/global-styling
I can't find out why this isn't working. It looks to me that I did it correctly. Also I already tried to look up a solution, but none of the found ones worked out for me.
I already tried to empty the cache etc.