Special thanks to the generous sponsorship by:
A Vue.js 2.0 UI Toolkit for Web.
- The project is forked from https://github.com/ElemeFE/element for more FLEXIBILITY when imported by front-end projects of agilab.
- What we will do
- create new component
- customize style
- extend existed components
- update from officical Element-UI
- branch dev: we develop or extend official element-ui in this branch
- branch master: we track master branch of offical element-ui from this branch
- clone this repository by git to your local one
- checkout to dev branch
- developing some features, Including But Not Limited To features listed in "What we will do" above
- commit and push to dev branch
- supposed you have cloned this repository to your local one
- add remote with name like element-ui and url https://github.com/ElemeFE/element
- new a branch master from origin/master
- checkout to master branch
- pull from element-ui/master, with tags if needed
- push to origin/master, with tags if needed
- checkout to dev branch
- merge from master branch, resolving conflicts if there are some ones.
- push to origin/dev
- new a folder with name "theme-<YOUR_PROJECT_NAME>" under
/packages
directory - you may refer to "theme-tesla" for theme's content you need to prepare
- run
yarn run build:theme <YOUR_PROJECT_NAME>
to build your theme - you may add <YOUR_PROJECT_NAME> to some commands, e.g.
dist:all
, as the very first parameter, in order to build project oriented theme with the command. - commit and push to
以下是 Element-UI 的官方文档
- 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) 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) 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
If you find Element useful, you can buy us a cup of coffee
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]