Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 718 Bytes

README.md

File metadata and controls

37 lines (26 loc) · 718 Bytes

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>