Pass data from controller to view in inertia.

PHOTO EMBED

Tue Apr 11 2023 04:11:37 GMT+0000 (Coordinated Universal Time)

Saved by @Nanguti #laravel #inertia #vue

defineProps({
    leaves: {
        type: [],
    },
    fields: {
        type: ["Name", "Date From ", "Date To", "Status"],
    },
});
content_copyCOPY