For complete instructions on how to initialize your build system, see the FullCalendar Angular Docs »
About this example: the state for events is owned by a NgRx store and reducer. This technique is more tedious to set up than the simple technique but allows the state to be accessed when a FullCalendar component is not rendered.
git clone https://github.com/fullcalendar/fullcalendar-examples.git
cd fullcalendar-examples/angular15-ngrx
npm installnpm run build # build to a directory
npm run start # continously build, as a serverAfter running the npm run start command, you will be given a localhost URL that can be visited in a browser.
To get this example working within StackBlitz, the following hack was added to src/main.ts. It can be safely removed in other environments.
import 'zone.js' // hack for StackBlitz