v-distpicker-stzhang

A flexible, highly available district selector for picking provinces, cities and districts of China.

Usage no npm install needed!

<script type="module">
  import vDistpickerStzhang from 'https://cdn.skypack.dev/v-distpicker-stzhang';
</script>

README

Powered By Jiajian Chan

A flexible, highly available district selector for picking provinces, cities and districts of China.

V - Distpicker

Here is documents

Installation

npm install v-distpicker-stzhang --save

Or

yarn add v-distpicker-stzhang --save

Usage

Register component

Registe global component:

import Distpicker from 'v-distpicker-stzhang'

Vue.component('v-distpicker', Distpicker)

Registe component:

import VDistpicker from 'v-distpicker-stzhang'

export default {
  components: { VDistpicker }
}

How to use

Basic:

<v-distpicker />

Default Value:

<v-distpicker province="广东省" city="广州市" area="海珠区" />

Mobile:

<v-distpicker type="mobile" />

Contributors

Thanks

License

The plugin is open-sourced software licensed under the MIT license.