Skip to content

adielsh/vue-simple-modal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BootstrapVueModal

Bootstrap Modal with Vue component It's a vue component of Bootstrap Modal. Include a slots, that you can override them and write your code inside.

How to Use:

Install:

$ npm install vue-modal-simple 

Or

$ yarn add vue-modal-simple 

Then write in your vue file:

<template> <SimpleModal :show.sync="showModal"> <!--You can write here : --> <div slot="body">Here might be a modal body</div> </SimpleModal> </template> import SimpleModal from 'vue-modal-simple' <script> export default { components:{ SimpleModal } } data(){ return { showModal:true } } </script> 

Enjoy :)

About

Bootstrap Modal on Vue component

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages