Introduction

npm

Provide address data to ElementUI Cascader component. datasource from Administrative-divisions-of-China

Usage

Install

npm install --save element-address-provide

or

yarn add element-address-provide

Vue Component

<template>
  <provide>
    <cascader></cascader>
  </provide>
</template>

<script>
import Provide from 'element-address-provide'
import Cascader from 'element-ui/lib/cascader'

export default {
  components: {
    Provide,
    Cascader
  }
}
</script>