# Element
[![Build Status](https://travis-ci.org/ElemeFE/element.svg?branch=master)](https://travis-ci.org/ElemeFE/element)
[![Coverage Status](https://coveralls.io/repos/github/ElemeFE/element/badge.svg?branch=master)](https://coveralls.io/github/ElemeFE/element?branch=master)
[![npm package](https://img.shields.io/npm/v/element-ui.svg)](https://www.npmjs.org/package/element-ui)
[![NPM downloads](http://img.shields.io/npm/dm/element-ui.svg)](https://npmjs.org/package/element-ui)
![JS gzip size](http://img.badgesize.io/https://unpkg.com/element-ui@next/lib/index.js?compression=gzip&label=gzip%20size:%20JS)
![CSS gzip size](http://img.badgesize.io/https://unpkg.com/element-ui@next/lib/theme-default/index.css?compression=gzip&label=gzip%20size:%20CSS)
[![Join the chat at https://gitter.im/ElemeFE/element](https://badges.gitter.im/ElemeFE/element.svg)](https://gitter.im/ElemeFE/element?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
> Desktop UI elements for Vue.js 2.0.
## Links
- [Home Page](http://element.eleme.io/)
- [Docs](http://element.eleme.io/#/component)
## Install
```shell
npm install element-ui@next -S
```
## Quick Start
use [babel-plugin-component](https://github.com/QingWei-Li/babel-plugin-component)
``` javascript
import Vue from 'vue'
import Element from 'element-ui'
Vue.use(Element)
// or
import {
Select,
Button
// ...
} from 'element-ui'
Vue.component(Select.name, Select)
Vue.component(Button.name, Button)
```
(roughly) to
``` javascript
import Vue from 'vue'
import Element from 'element-ui'
import 'element-ui/lib/theme-default/index.css'
Vue.use(Element)
// or
import Select from 'element-ui/lib/select'
import 'element-ui/lib/theme-default/select.css'
import Button from 'element-ui/lib/button'
import 'element-ui/lib/theme-default/button.css'
Vue.component(Select.name, Select)
Vue.component(Button.name, Button)
```
## babel-plugin-component
.babelrc
```json
{
"plugins": ["xxx", ["component", [
{
"libraryName": "element-ui",
"styleLibraryName": "theme-default"
}
]]]
}
```
## Browser Support
Modern browsers and Internet Explorer 9+.
## Development
Skip this part if you just want to use Element.
For those who are interested in contributing to Element, please refer to our [contributing guide](https://github.com/ElemeFE/element/blob/master/.github/CONTRIBUTING.md) to see how to run this project.
## Other links
- Starter Kit
- [element-starter](https://github.com/ElementUI/element-starter)
- [element-cooking-starter](https://github.com/ElementUI/element-cooking-starter)
- [element-in-laravel-starter](https://github.com/ElementUI/element-in-laravel-starter)
- [Design resources](https://github.com/ElementUI/Resources)
- Boilerplate for bug reports
- [CodePen](https://codepen.io/anon/pen/ozYpNA)
- [JSFiddle](https://jsfiddle.net/gmve9d3p/)
- [Mint UI](https://github.com/ElemeFE/mint-ui) - Mobile UI elements for Vue.js
## Changelog
Detailed changes for each release are documented in the [release notes](https://github.com/ElemeFE/element/releases).
## FAQ
We have collected some [frequently asked questions](https://github.com/ElemeFE/element/blob/master/FAQ.md). Before reporting an issue, please search if the FAQ has the answer to your problem.
## Contribution
Please make sure to read the [Contributing Guide](https://github.com/ElemeFE/element/blob/master/.github/CONTRIBUTING.md) before making a pull request.
## LICENSE
MIT
## 仓库
https://github.com/ElemeFE/element
没有合适的资源?快使用搜索试试~ 我知道了~
element-1.0.0-rc.8.zip
共502个文件
js:198个
vue:81个
css:79个
需积分: 0 0 下载量 163 浏览量
2024-08-24
09:37:07
上传
评论
收藏 870KB ZIP 举报
温馨提示
vue2 的 ui 框架 element-ui 源码
资源推荐
资源详情
资源评论
收起资源包目录
element-1.0.0-rc.8.zip (502个子文件)
.babelrc 318B
var.css 12KB
table.css 7KB
upload.css 5KB
radio.css 5KB
tabs.css 5KB
button.css 5KB
input.css 5KB
menu.css 4KB
pagination.css 4KB
tooltip.css 4KB
checkbox.css 3KB
step.css 3KB
popover.css 3KB
icon.css 3KB
message-box.css 2KB
switch.css 2KB
select.css 2KB
picker.css 2KB
slider.css 2KB
picker-panel.css 2KB
progress.css 2KB
date-range-picker.css 2KB
transition.css 2KB
tag.css 2KB
input-number.css 2KB
tree.css 2KB
date-picker.css 2KB
dialog.css 2KB
form.css 2KB
autocomplete.css 2KB
table-column.css 2KB
time-picker.css 2KB
option.css 1KB
alert.css 1KB
date-table.css 1KB
_button.css 1KB
notification.css 1KB
message.css 1KB
dropdown.css 1KB
input.css 1KB
select-dropdown.css 1KB
style.css 1KB
index.css 1KB
cascader.css 961B
dropdown.css 927B
badge.css 880B
time-spinner.css 861B
option.css 817B
breadcrumb.css 767B
rate.css 751B
spinner.css 733B
time-select.css 724B
row.css 706B
loading.css 706B
col.css 698B
year-table.css 649B
month-table.css 575B
time-range-picker.css 575B
card.css 572B
tag.css 552B
vars.css 473B
option-group.css 413B
date-picker.css 334B
steps.css 230B
time-picker.css 119B
base.css 57B
common.css 1B
menu-item.css 0B
breadcrumb-item.css 0B
radio-button.css 0B
button-group.css 0B
submenu.css 0B
radio-group.css 0B
menu-item-group.css 0B
tab-pane.css 0B
checkbox-group.css 0B
dropdown-menu.css 0B
dropdown-item.css 0B
form-item.css 0B
element-icons.eot 13KB
icomoon.eot 2KB
.eslintignore 69B
.eslintrc 257B
.gitattributes 35B
.gitignore 155B
element-demo.jpeg 363KB
popper.js 48KB
table.spec.js 24KB
date-picker.spec.js 18KB
form.spec.js 17KB
menu.spec.js 11KB
autocomplete.spec.js 11KB
select.spec.js 11KB
date.js 9KB
table-header.js 9KB
pagination.js 8KB
table-store.js 7KB
pagination.spec.js 7KB
table-column.js 6KB
共 502 条
- 1
- 2
- 3
- 4
- 5
- 6
资源评论
a3737337
- 粉丝: 0
- 资源: 2869
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功