mirror of
https://github.com/KevinMidboe/vue-js-modal.git
synced 2025-10-29 18:00:20 +00:00
fixed link, added readme
This commit is contained in:
21
README.md
21
README.md
@@ -1,7 +1,18 @@
|
|||||||
##nice-vue-components
|
##ue.js modal
|
||||||
|
|
||||||
A collection of vue components
|
####Simple to use vue.js modal
|
||||||
|
|
||||||
* Beeper
|
```
|
||||||
* Notification
|
import 'vue-modal';
|
||||||
* Modal
|
```
|
||||||
|
|
||||||
|
```
|
||||||
|
<modal name="hello-world">
|
||||||
|
hello, world!
|
||||||
|
</modal>
|
||||||
|
|
||||||
|
...
|
||||||
|
methods: {
|
||||||
|
this.$modal.show('hello-word');
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"author": "euvl <yev.vlasenko@gmail.com>",
|
"author": "euvl <yev.vlasenko@gmail.com>",
|
||||||
"private": false,
|
"private": false,
|
||||||
"main": "./components/index.js",
|
"main": "./Modal/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"examples": "cross-env NODE_ENV=development webpack-dev-server --open --hot"
|
"examples": "cross-env NODE_ENV=development webpack-dev-server --open --hot"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user