(wip) element for vue3
- 修改 build/bin/buld-entry.js 的 72 行。
- 组件加上白名单,比如加一个 'input',执行
npm run dev
。 - 访问文档(也可访问 http://localhost:8086/#/ ),在对应的组件页面调试报错即可,完成的记得标记。
- 提交代码前请先拉取代码,commit 时信息格式为 key: content,如
refactor: refactor alert
,注意表达简洁易懂。
Install
npm install element3 -S
Quick Start
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)
注意暂时不要在生产坏境使用
export components
目前已经导出可以使用的组件列表
- ElButton
- ElSwitch
- ElProgress
- ElLink
- ElIcon
- ElBreadcrumb
- ElBreadcrumbItem
- ElContainer
Join Discussion Group
Scan the QR code using Dingtalk App to join in discussion group :
Contribution
Special thanks to the generous sponsorship by:
A Vue.js 3.0 UI Toolkit for Web.(WIP)
Links
- 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
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.