From 6921bda6db42b1e0e39a132bc5465a7b2c47811d Mon Sep 17 00:00:00 2001 From: alexvenga Date: Sun, 11 Dec 2022 20:12:03 +0300 Subject: [PATCH] readme --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3739301..bc84816 100644 --- a/README.md +++ b/README.md @@ -57,8 +57,14 @@ You can publish two [MoonShine Resources](https://moonshine.cutcode.ru/resources ```bash php artisan vendor:publish --provider="VI\LaravelSiteSettings\LaravelSiteSettingsProvider" --tag="moonshine" ``` -and use them in your MoonShine admin panel +and use them in your MoonShine admin panel, like this: +```php +MenuGroup::make('Настройки', [ + MenuItem::make('Настройки', LaravelSiteSettingResource::class)->icon('app'), + MenuItem::make('Группы настроек', LaravelSiteSettingGroupResource::class)->icon('app'), +])->icon('app'), +``` ## Credits