# vue2-modal-promise

> Vue2ModalPromise: Vue2 component

Latest version **0.0.5** (published 2018-04-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install vue2-modal-promise
pnpm add vue2-modal-promise
yarn add vue2-modal-promise
bun add vue2-modal-promise
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.5 |
| Published | 2018-04-10 |
| First published | 2018-03-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 4.2.0 |
| Dependencies | 0 |
| Unpacked size | 36.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | sanchit |
| Maintainers | uploader-window |
| Keywords | vue, bootstrap, Vue2ModalPromise, vue2-modal-promise |

## Links

- npm: https://www.npmjs.com/package/vue2-modal-promise
- Repository: https://github.com/san-kumar/vue2-modal-promise
- Issues: https://github.com/san-kumar/vue2-modal-promise/issues
- npm.io page: https://npm.io/package/vue2-modal-promise

## Alternatives

- [@sveltejs/kit](https://npm.io/package/@sveltejs/kit.md) — 2.2M weekly downloads
- [@atlaskit/theme](https://npm.io/package/@atlaskit/theme.md) — 402.0K weekly downloads
- [@tangle-network/brand](https://npm.io/package/@tangle-network/brand.md) — 10.0K weekly downloads
- [seneca](https://npm.io/package/seneca.md) — 7.4K weekly downloads
- [@bsb/base](https://npm.io/package/@bsb/base.md) — 7.2K weekly downloads

## Recent versions

- 0.0.5 (latest) — 2018-04-10
- 0.0.4 — 2018-04-10
- 0.0.3 — 2018-04-10
- 0.0.2 — 2018-03-27
- 0.0.1 — 2018-03-27

## README

# Vue2ModalPromise
> Vue2ModalPromise Component for Vue 2.x

## Install

``` bash
    npm install vue2-modal-promise --save
```

## Usage

*1\. Import the component*

```
import Vue2ModalPromise from 'vue2-modal-promise';
```

*2\.1 Use it globally*

```
Vue.use(Vue2ModalPromise);
```

*3\. Inside your app or component:*

```
import MyComponent from './MyComponent.vue';

 
methods: {
    load() {
        // this.$modal.show(Component, data, options);
        this.$modal.show(MyComponent, this.item, {backdrop: 'static'})
            .then((data) => this.item = data);
    }
}
```

## Example

See ```index.html``` for example use


## Contributing
Contributions are welcome

## Build Setup

``` bash
# install dependencies
npm install

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

# build for production with minification
npm run build
```

---
_Source: https://npm.io/package/vue2-modal-promise · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
