Upgrade guide
You're browsing the documentation for an old version of MoonShine. Consider upgrading your project to MoonShine 2.x.
Upgrading To 1.50 From 1.0
# registerResources is outdated and will be removed in 2.0 version
app(MoonShine::class)->registerResources([ MenuItem::make('Admins', new MoonShineUserResource()),]);
We recommend to use the menu method
app(MoonShine::class)->menu([ MenuItem::make('Admins', new MoonShineUserResource()),]);