PHP code example of yangshihe / yii2-zui
1. Go to this page and download the library: Download yangshihe/yii2-zui library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
yangshihe / yii2-zui example snippets
app/AppAsset.php;
class AppAsset extends AssetBundle {
public $depends = [
'yangshihe\zui\ZuiAsset',
];
}
public function init()
{
parent::init();
Yii::$app->assetManager->bundles = [
'yii\bootstrap\BootstrapAsset' => [
'css' => [],
],
'yii\bootstrap\BootstrapPluginAsset' => [
'js' => [],
],
'yii\bootstrap\BootstrapThemeAsset' => [
'css' => [],
]
];
}