@timbouc/vuetify-country-region-input
Version:
A Vuetify country and region input select component with vue-i18n support. Use components together or standalone.
14 lines (11 loc) • 479 B
JavaScript
import VCountrySelect from '@/components/VCountrySelect.vue'
import VRegionSelect from '@/components/VRegionSelect.vue'
const install = function (Vue) {
const components = { VCountrySelect, VRegionSelect }
Object.keys(components).forEach(name => {
Vue.component(name, components[name])
})
}
const VueCountryRegionSelect = { VCountrySelect, VRegionSelect, install }
export default VueCountryRegionSelect
export { VCountrySelect, VRegionSelect }