A flexible, highly available district selector for picking provinces, cities and districts of China base on weui.js.
Weui - Distpicker
Here is documents
Installation
npm install weui-distpicker --save
Or
yarn add weui-distpicker --save
Usage
Register component
Registe global component:
import WeuiDistpciker from 'weui-distpicker'
Vue.component('weui-distpicker', WeuiDistpciker)
Registe component:
import WeuiDistpciker from 'weui-distpicker'
export default {
components: { WeuiDistpciker }
}
Simple usage
<template>
<weui-distpciker></weui-distpicker>
</template>
<script>
import WeuiDistpciker from 'weui-distpicker'
export default {
components: { WeuiDistpciker },
}
</script>
Please check the Documentation more
Contributors
License
The plugin is open-sourced software licensed under the MIT license.