[Vuejs]-How to rerender a fullcalendar component in vuejs

0👍

You can force the component to rerender by giving a :key property and update it every time when you want the component to be rebuilt.

In your case, you have to change componentKey at that place

if (result === true) {
              request.post('api/festivities/delete', {day: arg.event._instance.range.start, name: arg.event._def.title})
                .then(answer => {
                  this.componentKey++;
                  this.$router.go()
                })
          }

Leave a comment