Skip to content

Latest commit

 

History

History
 
 

card

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

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