Answer the question
In order to leave comments, you need to log in
How to override assetManager for Gii module?
Demolished the standard bootstrap and installed the sass build.
... config ...
'assetManager' => [
'bundles' => [
'yii\bootstrap\BootstrapAsset' => [
'sourcePath' => '@bower/bootstrap-sass/assets',
'css' => [],
],
'yii\bootstrap\BootstrapPluginAsset' => [
'sourcePath' => '@bower/bootstrap-sass/assets',
'js' => ['javascripts/bootstrap.min.js']
],
],
],
Answer the question
In order to leave comments, you need to log in
Because you redefined everything and now the required assets for gii are not found. Usually there is no such problem if you have an anvanced template. Then on the frontend you make any config with any bikes, and leave the standard backend and everything works there.
Although it is certainly possible to reconfigure assets for gii:
www.yiiframework.com/doc-2.0/yii-gii-giiasset.html
But the problem will probably not only be with gii, but with other modules dependent on bootstrap
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question