So, I’m trying to have an additional CSS file be included on any page, even in modules.
I tried modifying the assetManager in the config like so:
'assetManager' => [
'bundles' => [
'yii\web\YiiAsset' => [
'css' => ['/css/extra.css']
],
]
]
And if I go to /site, then extra.css is in fact included.
But if I go to /gii, it’s not included.
But in the GiiAsset it does say that YiiAsset is a dependency.
So since I’m modifying it in the main config, why isn’t it effecting the module?