설명 없음

baiyaaaaa 5b4114ea3c fix reset method 8 년 전
.github fdf0938c93 add FAQ 8 년 전
build 0cc28fb16a Support publish component packages 8 년 전
examples cfed2184bc fix input type 8 년 전
packages 5b4114ea3c fix reset method 8 년 전
src 0cc28fb16a Support publish component packages 8 년 전
.babelrc 3b539efb3a Use cooking@1.0.0-rc.2 9 년 전
.eslintignore 5ff24db2ff Refactor build scripts, fix #148 9 년 전
.eslintrc 3140e784b9 update pagination 9 년 전
.gitignore 5f2460c50d Update development page 9 년 전
.travis.yml 38cb32609c update progress 9 년 전
CHANGELOG.md 5b4114ea3c fix reset method 8 년 전
FAQ.md d8fc4fca36 update FAQ 8 년 전
LICENSE c0c64f9cce Update package.json dependencies 8 년 전
Makefile f2fe907593 remove lerna bootstrap 8 년 전
README.md 8976ac309c update element-in-laravel-starter 8 년 전
components.json 0cc28fb16a Support publish component packages 8 년 전
lerna.json e320f43c2d Initial commit 9 년 전
package.json d3334476c2 Merge pull request #455 from QingWei-Li/fix/package.json 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