这家伙有点懒,还没写个性签名!
我添加下面代码的时候: 'assetManger' => [ 'basePath' => '@webroot/frontend/web/assets', 'baseUrl' => '@web/frontend/web/assets' ], 报下面的错误:The configuration for the "assetManger" component must contain a "class" element. 这是怎么回事呀?
我添加下面代码的时候:
'assetManger' => [ 'basePath' => '@webroot/frontend/web/assets', 'baseUrl' => '@web/frontend/web/assets' ],
报下面的错误:The configuration for the "assetManger" component must contain a "class" element. 这是怎么回事呀?
The configuration for the "assetManger" component must contain a "class" element.
你是不是加到components外面去了?
直接改框架,并非善法。可以通过继承和配置实现。
请问要如何实现呢?........