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
use App\Models\User;
If you hover over wherever you're using User, it will give you a prompt to import the class.
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
thankyou sir its fixed now