A simple and versatile dialog box component for a project on vue.js!
$ npm install nu-modal-vue --save
import NuModal from 'nu-modal-vue'
Vue.use(NuModal);
<template>
<nu-modal ref="modal" title="">
...
</nu-modal>
<button @click="init-your-method-name"></button>
</template>
<script>
import NuBreadcrumbs from 'nu-breadcrumbs'
export default {
methods: {
init-your-method-name: function () {
this.$refs.modal.open()
}
}
}
</script>