Skip to content

Latest commit

 

History

History
289 lines (241 loc) · 17.6 KB

README.md

File metadata and controls

289 lines (241 loc) · 17.6 KB


Special thanks to the generous sponsorship by:

A Vue.js 2.0 UI Toolkit for Web.

Instructions

  • 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

Basic branches

  • 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

Basic developing procedure

  • 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

Basic updating procedure

  • 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

Tips for customizing style

  • 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 的官方文档

Links

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) 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) 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:

Donation

If you find Element useful, you can buy us a cup of coffee

donation

Backers

Support us with a monthly donation and help us continue our activities. [Become a backer]

Sponsors

Become a sponsor and get your logo on our README on Github with a link to your site. [Become a sponsor]

LICENSE

MIT