You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You may register your resources by using the `RootServiceProvider` which is published and automatically registered when the `root:install` artisan command is called.
23
+
Root automatically registers the resources found in the `app/Root/Resources` directory. However you may store resources somewhere else or also you may want to register a resource manually:
24
24
25
25
```php
26
26
namespace App\Providers;
27
27
28
-
use App\Root\Resources\PostResource;
29
-
use App\Root\Resources\UserResource;
30
-
use Cone\Root\RootApplicationServiceProvider;
28
+
use Cone\Root\Root;
29
+
use Illuminate\Support\ServiceProvider;
31
30
32
-
class RootServiceProvider extends RootApplicationServiceProvider
0 commit comments