Skip to content

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

License

Notifications You must be signed in to change notification settings

baermowei/v-distpicker

Repository files navigation

Powered By Jiajian Chan

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

V - Distpicker

This is a powerful blog, I try to build the blog more beautiful, more convenient.

Laravel 5.* and Vuejs 2.* combined with the establishment of a good response and quickly dashboard, the dashboard made through the Vuejs component development.

I believe it will be better and better. If you are interested in this, you can join and enjoy it.

Here is documents

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 90.0%
  • Vue 10.0%