An open API service indexing awesome lists of open source software.

https://github.com/eperedo/vue-basic-modal

A basic modal made with vove, I mean with luve... VUE!
https://github.com/eperedo/vue-basic-modal

component-library modal vue

Last synced: about 2 months ago
JSON representation

A basic modal made with vove, I mean with luve... VUE!

Awesome Lists containing this project

README

        

# Vue Basic Modal

> A basic modal made with vove, I mean with luve... VUE and LOVE!

[Demo on jsbin](https://jsbin.com/bekogarazu/1/edit?html,js,output)

### Usage

1. Install

```bash
npm install vue-basic-modal
```

or using UMD

```html

```

2. Add the css file somewhere in your application

```html

```

3. And finally the component!

```html


Show Modal

I am a Modal

import basicModal from 'vue-basic-modal';

export default {
name: 'my-comp',
data: () => {
return {
state: true,
};
},
components: {
basicModal: basicModal,
// basicModal: window['basic-modal'], if you are using UMD version
},
};

```

### Build component

```bash
npm run component
```