document.addEventListener('DOMContentLoaded', function () {
  'use strict';

  drupalSettings.modal = new Vue({ // eslint-disable-line no-unused-vars, no-undef, max-len
    el: '.collapsible-vue',
    data: {
      showBody: false
    },
    methods: {
      toggleBody: function toggleBody() {
        this.showBody = !this.showBody;
      }
    }
  });
});