shoyuf / el-select-area

šŸ‡ØšŸ‡³Chinese area select component(including Taiwan态Hongkong态Macao)

Home Page:https://femessage.github.io/el-select-area/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

el-select-area

NPM Download NPM Version NPM License PRs Welcome

introduce

äø­ę–‡ę–‡ę”£

Table of Contents

Introduction

This component contains Chinese area data, including Taiwan态Hongkong态Macao.

ā¬† Back to Top

Demo

ā¬† Back to Top

Install

# make sure has installed element-ui
yarn add element-ui

# and has globally registered el-select el-option 

# install
yarn add @femessage/el-select-area
<template>
  <el-select-area v-model="area" />
</template>
<script>
import ElSelectArea from '@femessage/el-select-area'

export default {
  components: {
    ElSelectArea
  },
  data() {
    return {
      area: []
    }
  }
}
</script>

ā¬† Back to Top

DataSource

The area data comes from vant-ui

ā¬† Back to Top

Example

level

res

ā¬† Back to Top

License

MIT

ā¬† Back to Top

About

šŸ‡ØšŸ‡³Chinese area select component(including Taiwan态Hongkong态Macao)

https://femessage.github.io/el-select-area/

License:MIT License


Languages

Language:JavaScript 91.9%Language:Vue 7.2%Language:Shell 0.9%