Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
alexvenga committed Dec 11, 2022
1 parent 93f8d1c commit 6921bda
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 6921bda

Please sign in to comment.