element/packages/card
2017-01-01 01:11:21 +08:00
..
src general: normalize name in default export 2017-01-01 01:11:21 +08:00
cooking.conf.js Support publish component packages 2016-10-17 12:14:10 +08:00
index.js Components: use es2015 export module, fixed #907 2016-11-08 15:01:00 +08:00
package.json component README update and fix 2016-12-16 10:57:54 +08:00
README.md component README update and fix 2016-12-16 10:57:54 +08:00

element-card

A element-card component for Vue.js.

Demo

http://element-component.github.io/element-card

Installation

npm i element-card -D

Usage

import Vue from 'vue'
import ElCard from 'element-card'
import 'element-theme-default/dist/card.css'

Vue.use(ElCard)

or

import Vue from 'vue'
import ElCard from 'element-card'

Vue.component('el-card', ElCard)

Attributes

参数 说明 类型 可选值 默认值
header 设置 header也可以通过 slot#header 传入 DOM string
body-style 设置 body 的样式 object { padding: '20px' }

Development

make dev

## test
make test

## build
make build

License

MIT