0
我想爲我的系統使用儀表板。我發現了這個Yii2儀表板模塊。我不確定它是否像GII那樣可以創建模型,CRUD等。總之,yii2-dashboard是否具有像GII一樣的UI?或者我應該手動編碼?非常感謝!如何使用yii2-dashboard?
我想爲我的系統使用儀表板。我發現了這個Yii2儀表板模塊。我不確定它是否像GII那樣可以創建模型,CRUD等。總之,yii2-dashboard是否具有像GII一樣的UI?或者我應該手動編碼?非常感謝!如何使用yii2-dashboard?
由於文檔說,你要編寫一點點:Where do i go now - Yii2 Dashboard
您可以用這種方法開始你的儀表盤添加面板
\Yii::$app->dashboard->addPanel($name,$view,$section);
的addPanel()函數接受3個參數
$name; /** name of the panel **/
$view; /** content of the panel **/
$section; /** section where the panel will be displayed**/