From b0b33f95cd45d8fdef7a188192c9b9aba8907cb7 Mon Sep 17 00:00:00 2001 From: Yev Vlasenko Date: Thu, 27 Apr 2017 19:18:12 +0300 Subject: [PATCH] Update README.md --- README.md | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f0b8f5c..b84d83f 100644 --- a/README.md +++ b/README.md @@ -62,10 +62,25 @@ methods: { | before-close | Emits before modal is going to be closed. Can be stopped from the event listener calling `event.stop()` (example: you are creating a text editor, and want to stop closisng and ask user to correct mistakes if text is not valid) | close | Emits right before modal is destoyed | -### Screenshots +### Developers -Example: +To run an example: ``` +# Clone repo + +git clone https://github.com/euvl/vue-js-modal.git + +# Build main library + +cd vue-js-modal +npm install +npm run build + +# Build and run demo + cd demo +npm install npm run dev ``` + +