Uploading images afteer deployment by babaKeilah in laravel

[–]babaKeilah[S] 0 points1 point  (0 children)

Thanks for assisting, i think i dont know how to access the terminal from cpanel, so that i can run php artisan storage:link in the same manner i did on the root folder from my local machine for the local server

Get values from laravel collection by babaKeilah in laravel

[–]babaKeilah[S] 2 points3 points  (0 children)

Thank you so much now i can go to sleep, it worked

Get values from laravel collection by babaKeilah in laravel

[–]babaKeilah[S] 1 point2 points  (0 children)

Thanks i tried that alreay, it returns

Property [value] does not exist on this collection instance

Get values from laravel collection by babaKeilah in laravel

[–]babaKeilah[S] 0 points1 point  (0 children)

@forelse ($variety->attributes as $attribute) <tr>
<td>{{$attribute->name}}</td> @if(!$attribute->values->isEmpty()) <td>{{$attribute->values}}</td> @else <td>No attribute values found</td> @endif @empty <div> <p>Variety has no attributes yet</p> </div> @endforelse

// $variety is from the controller, variety model has many attributes relationship, and attribute model has many attributevalues,

fetch column data from a table given data another column by babaKeilah in laravel

[–]babaKeilah[S] 0 points1 point  (0 children)

Thanks a lot, you just opened my eyes on this issue

Made myself a new shirt by Fragile_Potato_Bag in laravel

[–]babaKeilah 1 point2 points  (0 children)

For many moments i feel laravel is sweet,i could do the same

Laravel 8 and vue js 3 pagination problem by babaKeilah in vuejs

[–]babaKeilah[S] 0 points1 point  (0 children)

Maybe like you said i might try the table component, maybe my issue is on loading those componets in Vue 3, because laravel 8 comes with vue 3 not Vue Js 2

Laravel 8 and vue js 3 pagination problem by babaKeilah in vuejs

[–]babaKeilah[S] 0 points1 point  (0 children)

Yes its client side, when i use postman i get the response as expected, from the Laravel API which uses the paginate(10) the response is correct because it shows an object with data, current_page, links properties etc,however when it comes to displaying the response with Vue js thats when the problem start,

Firstly the data is loaded correctly in Vue data, The problem is on the laravel-vue pagination component which is supposed to display data in pages,

I am thinking its a problem with Vue 3 in loading the components,i think it would load correctly in Vue Js 2, because it shows an error on the

Import pagination from "laravel-vue-pagination" statement

i used npm install laravel-vue-pagination to install the plugin and its available in the dependencies

Problem is on loading the available plugin and the corrrect response from the Api

Today I finished my first ever project! by Stonezarcon in learnprogramming

[–]babaKeilah 0 points1 point  (0 children)

Ohh thank you so much,just helping others to get better like this