From e36bab0bb13772474034d44e681b8eba8dcfa393 Mon Sep 17 00:00:00 2001 From: Tushar Gugnani Date: Tue, 22 Dec 2020 13:14:39 +0530 Subject: [PATCH] Update Readme.md --- README.md | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 527921a..dd1e0e7 100644 --- a/README.md +++ b/README.md @@ -13,19 +13,28 @@ https://tushargugnani.github.io/vue-step-wizard/#/ npm install --save vue-step-wizard ``` -### Import + +### Import Globally ``` import VueStepWizard from 'vue-step-wizard' +import 'vue-step-wizard/dist/vue-step-wizard.css' +Vue.use(VueStepWizard); ``` - -### Use Globally +### Import and use Components Locally ``` -Vue.use(VueStepWizard) +//local registration +import {FormWizard, TabContent} from 'vue-step-wizard' +import 'vue-step-wizard/dist/vue-step-wizard.css' +//component code +components: { + FormWizard, + TabContent +} ``` -### Use Components Locally -``` -import FormWizard from 'vue-step-wizard' -import TabContent from 'vue-step-wizard' -``` +### Buy my a Pizza + +You have an option to buy me a pizza if you found this plugin useful + +https://www.buymeacoffee.com/wLrF3Z0tE