Skip to content

Commit

Permalink
updated readme to show full installation process more clearly
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Gehr committed Dec 11, 2019
1 parent 9a8635e commit de6d07d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: '',
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>",
Expand All @@ -20,7 +20,7 @@
"region select",
"lightweight",
"state select",
"state",
"state",
"vue state select",
"country dropdown",
"dropdown",
Expand Down

0 comments on commit de6d07d

Please sign in to comment.