I have the same problem... the image is in public : storage/images/image.png and the route is(http://127.0.0.1:8000/dashboard/category) whenn I try to Do this
success:function(response){
=
$.each(response.res,function(key, subcat){
$('#table').append('<div class="flex min-w-10 items-center justify-start gap-2 py-2"}`>\
<img src="/storage/assets/images/subcat/'+subcat.image+')" class="w-16" alt="image">\);
not working bcs I got this as a url http://127.0.0.1:8000/dashboard/category/storage/assets/images/subcat/image.png and it's an 404 error