mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-12-05 05:38:24 +08:00
.. | ||
src | ||
cooking.conf.js | ||
index.js | ||
package.json | ||
README.md |
el-cascader
A el-cascader component for Vue.js.
Installation
npm i el-cascader -D
Usage
import Vue from 'vue'
import ElCascader from 'el-cascader'
import 'theme-default/dist/cascader.css'
Vue.use(ElCascader)
or
import Vue from 'vue'
import { ElCascader } from 'el-cascader'
Vue.component('el-cascader', ElCascader)
Options
el-cascader
参数 | 说明 | 类型 | 可选值 | 默认值 |
---|---|---|---|---|
model | 绑定值 | string | ||
placeholder | 占位符 | string |
Development
make dev
## test
make test
## build
make build