element-ui-shadow
v15.7.0
Published
A Component Library for Vue.js.
Downloads
1
Readme
Links
- Homepage and documentation
- awesome-element
- FAQ
- Vue.js 3.0 migration
- Customize theme
- Preview and generate theme online
- Element for React
- Element for Angular
- Atom helper
- Visual Studio Code helper
- Starter kit
- Design resources
- Gitter
相对于 element-ui 的改动
将源码中的 document
(非全部,有些是不需要)指向到了 Vue.prototype.$ELEMENT.document
,所以在 element-ui 的全局配置项中增加了 document
配置项:
Vue.use(element, {
// `YOUR_DOCUMENT` 默认是 `window.document` ,也可以配置 ShadowDom
document: YOUR_DOCUMENT
})
Install
npm install element-ui-shadow -S
Quick Start
import Vue from 'vue'
import Element from 'element-ui-shadow'
Vue.use(Element)
// or
import {
Select,
Button
// ...
} from 'element-ui-shadow'
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:
- adavie1
- carmencitaqiu
- coderdiaz
- fedegar33
- Gonzalo2310
- lesterbx
- ProgramerGuy
- SantiagoGdaR
- sigfriedCub1990
- thechosenjuan
French documentation is made possible by these community developers:
Join Discussion Group
Scan the QR code using Dingtalk App to join in discussion group :