2017-05-09 69 views

回答

0

有你這個代碼編輯你的config/web.php:

'resources'=>'[path to my web]/web/metronic/assets/theme/assets', 

'components' => [ 
'metronic'=>[ 
    'class'=>'dlds\metronic\Metronic', 
    'resources'=>'[path to my web]/web/metronic/assets/theme/assets', 
    'style'=>\dlds\metronic\Metronic::STYLE_MATERIAL, 
    'theme'=>\dlds\metronic\Metronic::THEME_LIGHT, 
    'layoutOption'=>\dlds\metronic\Metronic::LAYOUT_FLUID, 
    'headerOption'=>\dlds\metronic\Metronic::HEADER_FIXED, 
    'sidebarPosition'=>\dlds\metronic\Metronic::SIDEBAR_POSITION_LEFT, 
    'sidebarOption'=>\dlds\metronic\Metronic::SIDEBAR_MENU_ACCORDION, 
    'footerOption'=>\dlds\metronic\Metronic::FOOTER_FIXED, 
],] 

您放置在該行的組件,您必須確保