I'd like to share with you this snip:

Yii override default component
'clientScript'=>[
        'class' => 'application.components.CEClientScript', ……
JerryTheKing
PHP
#override #component