I'm putting fullCalendar into my application,
return view('dashboard.cadastro.reservaArea', compact('areas', 'reservas'));
I'm giving return view
passing reservations through compact
, so far so good.
After that I need to get this JSON 'reservations' in the location below,
$(function() {
$('#calendar').fullCalendar({
events: [
{
JSON AQUI
}
],
});
});