在我的配置文件中,我将bootstrap设置为preload:
'preload' => array('log','bootstrap')
我现在已从preload数组中删除了bootstrap,它停止工作说别名不正确:
Alias “bootstrap.widgets.BootNavbar” is invalid. Make sure it points to an existing directory or file.
别名虽然已在配置文件的components部分中定义,但在预加载引导程序组件时工作正常:
'bootstrap' => array( 'class' => 'ext.bootstrap.components.Bootstrap' ),
如何在不预加载的情况下使bootstrap扩展工作?