weui-distpicker

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

Usage no npm install needed!

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

README

Powered By Jiajian Chan

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

Weui - Distpicker

Here is documents

Without Weui.js

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.