1. v-distpicker
A flexible, highly available district selector for picking provinces, cities and districts of China.
v-distpicker
Package: v-distpicker
Created by: jcc
Last modified: Sat, 17 Sep 2022 08:54:30 GMT
Version: 1.3.3
License: MIT
Downloads: 5,260
Repository: https://github.com/jcc/v-distpicker

Install

npm install v-distpicker
yarn add v-distpicker

Powered By Jiajian Chan

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

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


jcc


lyh2668


wwhwwhwwh


kent666a


Milogenius


xu8117


tcsiye


iyangsheng


liushuai05


Aufree

Thanks

License

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

Dependencies

RELATED POST

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin