From 8e37622552dc96d434a3ff3ad047c03c85453c69 Mon Sep 17 00:00:00 2001 From: Pankaj Date: Wed, 27 Mar 2019 12:00:18 +0530 Subject: [PATCH] Comma in example code and dialog mixin js path Added a comma in options example. Fixed wrong dialog mixin js path where /dist was missing. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cbc459a7b..66e641c96 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ yarn add vuejs-dialog // import into project import Vue from 'vue'; import VuejsDialog from 'vuejs-dialog'; -import VuejsDialogMixin from 'vuejs-dialog/vuejs-dialog-mixin.min.js'; // only needed in custom components +import VuejsDialogMixin from 'vuejs-dialog/dist/vuejs-dialog-mixin.min.js'; // only needed in custom components // include the default style import 'vuejs-dialog/dist/vuejs-dialog.min.css'; @@ -358,7 +358,7 @@ let options = { verification: 'continue', // for hard confirm, user will be prompted to type this to enable the proceed button verificationHelp: 'Type "[+:verification]" below to confirm', // Verification help text. [+:verification] will be matched with 'options.verification' (i.e 'Type "continue" below to confirm') clicksCount: 3, // for soft confirm, user will be asked to click on "proceed" btn 3 times before actually proceeding - backdropClose: false // set to true to close the dialog when clicking outside of the dialog window, i.e. click landing on the mask + backdropClose: false, // set to true to close the dialog when clicking outside of the dialog window, i.e. click landing on the mask customClass: '' // Custom class to be injected into the parent node for the current dialog instance };