# vue-simple-modal

> A Vue component that shows a modal.

Latest version **1.1.0** (published 2017-09-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install vue-simple-modal
pnpm add vue-simple-modal
yarn add vue-simple-modal
bun add vue-simple-modal
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2017-09-04 |
| First published | 2017-08-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | oaker |
| Maintainers | cyio |

## Links

- npm: https://www.npmjs.com/package/vue-simple-modal
- Repository: https://github.com/cyio/vue-simple-modal
- Homepage: https://github.com/cyio/vue-simple-modal#readme
- Issues: https://github.com/cyio/vue-simple-modal/issues
- npm.io page: https://npm.io/package/vue-simple-modal

## Recent versions

- 1.1.0 (latest) — 2017-09-04
- 1.0.0 — 2017-08-30

## README

# vue-simple-modal

A Vue component that shows a modal.


## Installation

```js
npm i --save-dev vue-simple-modal
```

### Browser

Include the script file, then install the component with `Vue.use(VueClock);` e.g.:

```html
<script type="text/javascript" src="node_modules/vuejs/dist/vue.min.js"></script>
<script type="text/javascript" src="node_modules/vue-simple-modal/dist/vue-modal.min.js"></script>
<script type="text/javascript">
  Vue.use(VueModal);
</script>
```

### Module

```js
import VueModal from 'vue-modal';
```

## Usage

Once installed, it can be used in a template as simply as:

```html
<button @click="toggleModal">toggle modal</button>
<vue-modal :show="showModal" @close="toggleModal"></vue-modal>
```

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