mirror of
https://github.com/KevinMidboe/vue-js-modal.git
synced 2025-12-08 20:48:46 +00:00
Updated readme
This commit is contained in:
@@ -24,7 +24,7 @@ Create modal
|
|||||||
Call it from anywhere in the app
|
Call it from anywhere in the app
|
||||||
```javascript
|
```javascript
|
||||||
methods: {
|
methods: {
|
||||||
show() {
|
show() {
|
||||||
this.$modal.show('hello-word');
|
this.$modal.show('hello-word');
|
||||||
},
|
},
|
||||||
hide () {
|
hide () {
|
||||||
@@ -62,8 +62,8 @@ methods: {
|
|||||||

|

|
||||||
|
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
```
|
```
|
||||||
npm run examples
|
cd demo
|
||||||
|
npm run dev
|
||||||
```
|
```
|
||||||
Will be served at http://localhost:8000/examples
|
|
||||||
|
|||||||
Reference in New Issue
Block a user