@dillingham/vue-modal

1.0.29 • Public • Published

Vue Modal

Simple reactive Vue / Tailwind modal

<a v-modal:some-modal-id>Open Modal</a>
<modal id="some-modal-id">
    <template slot-scope="{ close }">
        <!-- Add content -->
        <span @click="close">Cancel</span>
    </template>
</modal>

Install

npm install @dillingham/vue-modal --save
import VueModal from '@dillingham/vue-modal';

Vue.use(VueModal);

Readme

Keywords

none

Package Sidebar

Install

npm i @dillingham/vue-modal

Weekly Downloads

28

Version

1.0.29

License

ISC

Unpacked Size

3.27 kB

Total Files

4

Last publish

Collaborators

  • dillingham