v-distpicker

A flexible, highly available district selector for picking provinces, cities and districts of China.
41,920 970
Install
npm install v-distpicker@2.1.0
Latest Version:2.1.0
Vue:3
Older releases:2
License:MIT
Last Updated:Dec 1, 2023
Links: GitHub  ·  npm
Maintainer: jcc

V - Distpicker

Documents and Demo

[English] | 简体中文

CHANGELOG

Installation

npm install v-distpicker --save

Or

yarn add v-distpicker --save

Usage

Register component

Registe global component:

import Distpicker from 'v-distpicker'

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

Registe component:

import VDistpicker from 'v-distpicker'

export default {
  components: { VDistpicker }
}

How to use

Basic:

<v-distpicker></v-distpicker>

Default Value:

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

Mobile:

<v-distpicker type="mobile"></v-distpicker>

Contributors

Thanks

License

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

Related Packages

vueinview

vue in-view

23,014 99
vue3-scroll-picker

Vue 3 scroll picker plugin.

33,254 32
vite-plugin-vue-images

Auto import images for Vite+Vue projects

23,237 11
vue-wheel-picker

Picker is a Vue component that selects a value from the list by dragging the cyl...

7,798 17
v-track

一个基于Vue指令的埋点插件

4,681 341

Version History

Version Released License
2.1.0 MIT
2.0.9 MIT
2.0.8 MIT
2.0.7 MIT
2.0.6 MIT