[Vuejs]-Laravel + Vue Js : How can i hide a bootstraps 4 modal on getting response from Axios request

0👍

You can use like this:

methods: {
  // ...
  if(response.status===200) this.closeModal();
  // ...
  closeModal() {
    $('#modal').modal('hide');
  }
}

Leave a comment