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