0.0.1 • Published 6 years ago

vue2-modal-preview v0.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

Vue2ModalPreview

Vue2ModalPreview Component for Vue 2.x

Install

    npm install vue2-modal-preview --save

Usage

1. Import the component

import Vue2ModalPreview from 'vue2-modal-preview';

2.1 Use it globally

Vue.use(Vue2ModalPreview);

2.2 Or use it locally

components: {
    'vue2-modal-preview': Vue2ModalPreview
},

3. Update your app or template:

<div>
...
<vue2-modal-preview></vue2-modal-preview>
...
</div>

Example

See index.html for example use

Contributing

Contributions are welcome

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build