resource

Helloo I’m newbie I have this problem that when I created a resource, example the UserResource I’m getting an error that “the app/models/users not found😅
4 Replies
Dmitri
DmitriOP2y ago
No description
Matthew
Matthew2y ago
use App\Models\User; If you hover over wherever you're using User, it will give you a prompt to import the class.
Mark Chaney
Mark Chaney2y ago
As mentioned, please read the rules. You need to be posting code and posting it as described in the #✅┊rules as directed earlier when asking for help
Dmitri
DmitriOP2y ago
thankyou sir its fixed now

Did you find this page helpful?