بدون توضیح

baiyaaaaa e6df859df4 fixed styled 8 سال پیش
.github 3a00406851 Add links (#100) 9 سال پیش
build 5ff24db2ff Refactor build scripts, fix #148 8 سال پیش
examples e6df859df4 fixed styled 8 سال پیش
packages 7964857996 Pagination: fix icon style, fixed #163 8 سال پیش
src 3758bacbb4 utils: import popper fail in vue-popper file, fixed #143 8 سال پیش
.babelrc 3b539efb3a Use cooking@1.0.0-rc.2 9 سال پیش
.eslintignore 5ff24db2ff Refactor build scripts, fix #148 8 سال پیش
.eslintrc 3140e784b9 update pagination 9 سال پیش
.gitignore 5f2460c50d Update development page 9 سال پیش
.travis.yml 38cb32609c update progress 9 سال پیش
CHANGELOG.md 7964857996 Pagination: fix icon style, fixed #163 8 سال پیش
LICENSE da8a486fb2 add LICENSE 9 سال پیش
Makefile a94d35fb39 misc update 9 سال پیش
README.md 71f4d1cba9 text unification 8 سال پیش
components.json 03f34f7d32 menu item group 9 سال پیش
lerna.json e320f43c2d Initial commit 9 سال پیش
package.json 4363c107c3 Remove `--ext` and use globs for extension names 8 سال پیش

README.md

Element

Build Status npm package NPM downloads JS gzip size CSS gzip size

Desktop UI elements for Vue.js 2.0.

Links

Install

npm install element-ui@next -S

Quick Start

use babel-plugin-component

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)

(roughly) to

import Vue from 'vue'
import Element from 'element-ui'
import 'element-ui/lib/theme-default/index.css'

Vue.use(Element)

// or
import Select from 'element-ui/lib/select'
import 'element-ui/lib/theme-default/select.css'
import Button from 'element-ui/lib/button'
import 'element-ui/lib/theme-default/button.css'

Vue.component(Select.name, Select)
Vue.component(Button.name, Button)

babel-plugin-component

.babelrc

{
  "plugins": ["xxx", ["component", [
    {
      "libraryName": "element-ui",
      "styleLibraryName": "theme-default"
    }
  ]]]
}

Browser Support

Modern browsers and Internet Explorer 9+.

Development

Recommend: node >= 4 npm >= 3

# development => install packages -> build icon etc. -> run webpack
$ npm run dev

# build => build all component
$ npm run dist

Other links

Changelog

Detailed changes for each release are documented in the release notes.

Contribution

Please make sure to read the Contributing Guide before making a pull request.

LICENSE

MIT