Replaced with the newer version

This commit is contained in:
euvl
2017-03-10 10:46:05 +00:00
parent 675e6cdcb7
commit c1913b0490
25 changed files with 802 additions and 432 deletions

View File

@@ -1,45 +1,7 @@
# vue-modal
##nice-vue-components
A simple modal component for Vue.js
A collection of vue components
##Install
##Usage
Example:
main.js:
```js
import Vue from 'vue';
import App from './App';
import VueModal from 'vue-modal';
Vue.use(VueModal);
new Vue({
el: '#app',
template: '<App/>',
components: { App },
});
```
App.vue:
```html
<template>
<div id="app">
<h1>Test page</h1>
<button @click="modal('basic')">Show modal</button>
<modal name="basic">Hello! Im a modal!</modal>
</div>
</template>
<script>
export default {
name: 'app',
methods: {
modal(name) => this.$modal.show(name),
},
};
</script>
```
##License
MIT
* Beeper
* Notification
* Modal