fixed link, added readme

This commit is contained in:
euvl
2017-03-10 11:08:14 +00:00
parent 0a46692303
commit 91c322e670
2 changed files with 17 additions and 6 deletions

View File

@@ -1,7 +1,18 @@
##nice-vue-components
##ue.js modal
A collection of vue components
####Simple to use vue.js modal
* Beeper
* Notification
* Modal
```
import 'vue-modal';
```
```
<modal name="hello-world">
hello, world!
</modal>
...
methods: {
this.$modal.show('hello-word');
}
```

View File

@@ -4,7 +4,7 @@
"version": "1.0.0",
"author": "euvl <yev.vlasenko@gmail.com>",
"private": false,
"main": "./components/index.js",
"main": "./Modal/index.js",
"scripts": {
"examples": "cross-env NODE_ENV=development webpack-dev-server --open --hot"
},