yii2
Yii2 location from depencies in custom asset
I have a path something like /actions/users/someaction in the frontend and I want to use the Bootstrap-Asset (located in /backend/web/assets/xxxxxx/) from the backend. So I created an asset called "ActionAsset" with following content: class ActionAsset extends AssetBundle { public $basePath = '#backend'; public $baseUrl = '#web/backend'; public $css = [ 'css/external.css', 'css/overwrite-bootstrap.css', ]; public $js = [ ]; public $depends = [ 'yii\web\YiiAsset', 'yii\bootstrap\BackendBootstrapAsset', ]; } The included css are just working fine, but the depencies are always saved in /frontend/web/assets/. My question is (and I really searched for weeks) how to change this location to /backend/web/assets. Thanks!
Related Links
Yii2 Create & use variable with views folder scope
Kartik datepicker extention not working on array input form
Two totally different frontend users in Yii2 advanced
Using implode in gridview yii2
How to upload same file in different folder?
Yii2 change redactor box size
How to search using SearchModel in Yii2?
negation in query condition yii2
yii2 General SQL Server error: Check messages from the SQL Server [208] (severity 16) [(null)]
Yii2 Summernote widget not working
yii2 bootstrap Nav keep parent active when child pointing to different module
Generate data-confirm not working
yii2 check database type (mysql or oracle)
Installing Yii2 - 403 Forbidden page
Data from two function in one column in gridview yii2
Write info message in app.log file using yii2