element README

The project's README from github.com/ElemeFE/element. As one markdown file: README.md.


A Vue.js 2.0 UI Toolkit for Web.

Element will stay with Vue 2.x

For Vue 3.0, we recommend using Element Plus(Element Plus is a community develop project)

For MiniProgram development, we recommend using MorJS

Install

npm install element-ui -S

Quick Start

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)

For more information, please refer to Quick Start in our documentation.

Browser Support

Modern browsers and Internet Explorer 10+.

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 (中文 | English | Español | Français) to see how to run this project.

Changelog

Detailed changes for each release are documented in the release notes.

FAQ

We have collected some frequently asked questions. Before reporting an issue, please search if the FAQ has the answer to your problem.

Contribution

Please make sure to read the contributing guide (中文 | English | Español | Français) before making a pull request.

Special Thanks

English documentation is brought to you by SwiftGG Translation Team:

Spanish documentation is made possible by these community developers:

French documentation is made possible by these community developers:

Join Discussion Group

Scan the QR code using Dingtalk App to join in discussion group :

Join Discusion Group

LICENSE

MIT

element (ElemeFE/element)

Searching Database…

这是什么?Element 是一个基于 Vue.js 2.0 的 UI 组件库,提供了一系列现成的界面组件,用来搭建网页界面。
怎么把 Element 加到我的 Vue 项目里?从 npm 安装 element-ui 包,然后在 Vue 2 的入口文件里引入并注册;文档的 Quick Start 部分有具体步骤。
安装它会带进来一大堆依赖吗?不会——它的 package.json 里只列了六个小型运行时辅助库,比如 async-validator、deepmerge 和 normalize-wheel;npm 会随包一起装好它们。
我的项目用的是 Vue 3,还能用它吗?不行:Element 只支持 Vue 2.x。如果是 Vue 3,README 推荐使用社区项目 Element Plus,小程序开发则推荐 MorJS。
它是面向中国用户还是国际用户的?面向国际用户:README 除了英文文档外,还提供了中文、西班牙语和法语版本的文档。
它支持哪些浏览器?根据 README:支持主流现代浏览器,以及 Internet Explorer 10 及以上版本。
能定制主题来配合我的品牌吗?可以——官方提供了主题定制指南,还有一个在线工具,可以在使用前预览并生成自定义主题。
有没有适合新项目的起步模板?README 里链接了两个:纯 Vue 项目的 element-starter,以及 Laravel 应用的 element-in-laravel-starter。
我用的是 React 或 Angular,有对应的版本吗?README 里链接了对应的移植版本:Element for React 和 Element for Angular。
What are similar projects?mint-ui, element-plus, vuetify, vux, iview, vuestic-admin, vant, naive-ui
Creator
ElemeFE
Size
91.2 MB
Stars
54K
Age
10y
Commits · 90 Days