Help Getting Global Assets Included

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?

i have included css and js with bootstrap (not twitter bootstrap) and it fluent in all part of application… you can see my code in yii2 heart check in github