Laravel 5.4 and fullcalendar Hi guys,
I tried to use fullcalendar.io through the "maddhatter/laravel-fullcalendar" package.
However, even if I followed the instructions the calendar is not shown in my views.
Does it work for you?
Any suggestions?
Thanks,
Vincenzo
did you include fullcalendar.io's files in your HTML.
Hi, this is what I did:
I installed the plugin with composer;
I added the provider class;
I added the alias;
in the controller I created the events array and I inserted 2 dummy events with the addEvents function;
in the view I added the scripts necessary to use full calendar;
in the same view, after the scripts, I pasted the 2 lines of code:
{!! $calendar->calendar() !!}
{!! $calendar->script() !!}
Am I missing something?
@abusalameh do you have any ideas about my problem? Still doesn't work (I'm linking the scripts and the css with the cdn)
clear all cache.
open terminal/iterm in application folder:
composer dump-autoload && php artisan view:clear && php artisan cache:clear && php artisan clear-compiled && php artisan config:cache && php artisan route:cache && php artisan optimize
@abusalameh what do you mean with include fullcalendar.io's files in your HTML? Thanks
Please sign in or create an account to participate in this conversation.