Country State City Select
Basic library for Country, State and City with select inputs
Basic library for Country, State and City with select inputs built with vue.js.
- Input select with all countries around the world
- Select for states of that country
- Input select with option Cities belong to that state
Installation
CountryStateCitySelect requires Node.js to run.
Install the dependencies and devDependencies and start the server.
cd 'your folder'
npm i
npm install -g @vue/cli
npm install -g @vue/cli-service-global
npm i global-country-state-city-select
Plugins
CountryStateCitySelect is currently extended with the following plugins. Instructions on how to use them in your own application are linked below.
Plugin | README |
---|---|
Bili | [https://bili.egoist.sh][PlDb] |
Rollup.js | [https://rollupjs.org/guide][PlGh] |
How to use it
In your main.js, or a similar entry point for your app:
import SelectCountryStateCity from "SelectCountryStateCity";
import Vue from "vue";
Vue.use(SelectCountryStateCity);
License
MIT