'assetManager' => [
'bundles' => [
'some\namespace\SomeAsset' => [
'sourcePath' => '@web/myassets/folder', // redeclare default folder
'css' => [
'my_widget_style.css',
'other_style.css',
],
'js' => [
],
'depends' => [
],
],
],
],
class SwitchThemesAsset extends AssetBundle
{
public $css = [
'css/switchthemes.css'
];
public function init()
{
$this->sourcePath = __DIR__.'/assets';
parent::init();
}
}