From de6d07dc14b43f33ae980f65eb4ee506feac1595 Mon Sep 17 00:00:00 2001 From: Justin Gehr Date: Wed, 11 Dec 2019 15:48:52 -0600 Subject: [PATCH] updated readme to show full installation process more clearly --- README.md | 5 +++++ package.json | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0a1c704..b617f09 100644 --- a/README.md +++ b/README.md @@ -20,10 +20,15 @@ There is a prop that will allow for country to be returned in full instead of in The library registers the components globally so only need to import the library once in order to make the components be available throughout your project. ```javascript +// too be added before mounting app import Vue from 'vue' import vueCountryRegionSelect from 'vue-country-region-select' Vue.use(vueCountryRegionSelect) +new Vue({}).$mount('#app') +// end mounting app + +// then inside your vue components export default Vue.extend({ data: () => ({ country: '', diff --git a/package.json b/package.json index 69915d7..dd926c7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue-country-region-select", - "version": "2.0.11", + "version": "2.0.12", "description": "A Country select component and Region select component for Vue.js. Work together and standalone.", "repository": "https://github.com/gehrj/vue-country-region-select", "author": "Justin Gehr ", @@ -20,7 +20,7 @@ "region select", "lightweight", "state select", - "state", + "state", "vue state select", "country dropdown", "dropdown",