Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2020-02-26 14:00:27 +01:00
commit b84c4e281e
No known key found for this signature in database
GPG key ID: 60C25B8C072916CF
11 changed files with 58 additions and 51 deletions

View file

@ -1,6 +1,6 @@
/* jshint esversion: 6 */
// we need our modal component
import ModalDialog from './modalDialog.vue'
import ModalDialog from './ModalDialog'
const Modal = {
// every plugin for Vue.js needs install method
@ -12,7 +12,7 @@ const Modal = {
this.EventBus = new Vue()
// making our modal component global
Vue.component('modal-dialog', ModalDialog)
Vue.component('ModalDialog', ModalDialog)
// exposing global $modal object with method show()
// method show() takes object params as argument