Modal plugin for Nuxt.js and Vue.js
npm install vue-modaltorAll notable changes to this project will be documented in this file.
vue modal component for vuejs and i hope it be useful for everyone ...
you can see example usages here

- no need to handle modal's height manually it extends as the content of modal increases .
- manage modal's size on different dimensions with one single attribute see responsive
- scrollable modal, modal will get scroll if content is more than current view page height see close-scroll
- modals has multiple parent animations parent-animation
- edit icon close svg or icon font parent-animation
- hide icon close parent-animation
``NPM`
npm install vue-modaltor --save
`YARN`
yarn add vue-modaltor
then you can import modaltor in
`js
import Vue from "vue";
import VueModalTor from "vue-modaltor/dist/vue-modaltor.common";
import "vue-modaltor/dist/vue-modaltor.css";
Vue.use(VueModalTor, {
bgPanel: "#7957d5" // add custome options
});
`
/plugins/modal.js`
`js
import Vue from "vue"
import VueModalTor from "vue-modaltor/dist/vue-modaltor.common.js"
import "vue-modaltor/dist/vue-modaltor.css"
Vue.use(VueModalTor)
`
then add plugins part in `nuxt.config.js`
`js
plugins: [
"~/plugins/modal.js"
]
`Also, can use CDN
And check it this issues
Example
`vue
x
add modal title or not
“Never forget what you are,
for surely the world will not.
Make it your strength. Then it can never be your weakness.
Armour yourself in it, and it will never be used to hurt you.
” ― George R.R. Martin, A Game of Thrones.
`Props
`vue
`` #header
- create your own header
#body
- create your own body
- [x] Add custom slot for header , body and footer