- 修改 build/bin/buld-entry.js 的 72 行。
- 组件加上白名单,比如加一个 'input',执行
npm run dev
。 - 访问文档(也可访问 http://localhost:8086/#/ ),在对应的组件页面调试报错即可,完成的记得标记。
- 提交代码前请先拉取代码,commit 时信息格式为 key: content,如
refactor: refactor alert
,注意表达简洁易懂。
npm install element3 -S
import 'element3/lib/theme-chalk/index.css'
import { createApp } from 'vue'
import Element3 from 'element3'
import App from './App.vue'
const app = createApp(App)
app.use(Element3)
app.mount('#app')
// or
import {
ElButton
// ...
} from 'element3'
Vue.use(ElButton)
注意暂时不要在生产坏境使用
目前已经导出可以使用的组件列表
- ElButton
- ElSwitch
- ElProgress
- ElLink
- ElIcon
- ElBreadcrumb
- ElBreadcrumbItem
Scan the QR code using Dingtalk App to join in discussion group :
Special thanks to the generous sponsorship by:
![]() |
![]() |
![]() |
A Vue.js 3.0 UI Toolkit for Web.(WIP)
- Homepage and documentation
- awesome-element
- FAQ
- Customize theme
- Preview and generate theme online
- Element for React
- Element for Angular
- Atom helper
- Visual Studio Code helper
- Starter kit
- Design resources
- Gitter
npm install element-ui -S
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.
Modern browsers and Internet Explorer 10+.
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.
Detailed changes for each release are documented in the release notes.
We have collected some frequently asked questions. Before reporting an issue, please search if the FAQ has the answer to your problem.
Please make sure to read the contributing guide (中文 | English | Español | Français) before making a pull request.
English documentation is brought to you by SwiftGG Translation Team:
Spanish documentation is made possible by these community developers:
- adavie1
- carmencitaqiu
- coderdiaz
- fedegar33
- Gonzalo2310
- lesterbx
- ProgramerGuy
- SantiagoGdaR
- sigfriedCub1990
- thechosenjuan
French documentation is made possible by these community developers:
Support us with a monthly donation and help us continue our activities. [Become a backer]
Become a sponsor and get your logo on our README on Github with a link to your site. [Become a sponsor]