Closed Malkom closed 5 years ago
I've find the solution :
{{ calendar|raw }}
{{ script|raw }}
But the calendar doesn't appear...
So the right way to tranform blade view :
{!! $calendar->calendar() !!}
{!! $calendar->script() !!}
in twig view is :
{{ calendar.calendar()|raw }}
{{ calendar.script()|raw }}
where calendar is you variable in your controller :
$calendar = Calendar::addEvents($event_list);
Hope this help someone ;)
Hi,
Is there a way to render a twig view of this calendar package, instead of a ##blade view ?