Sin descripción

Karol Fabjańczuk d60133cf09 feat(translation): date/time picker translation possibility if using vue-i18n hace 8 años
.github 3d6beb1d68 update ISSUE_TEMPLATE hace 8 años
build dd7b8e5ef1 dialog and msgbox import the global vue-popup (#282) hace 8 años
examples 58994b0710 dropdown bug fix & docs update hace 8 años
packages d60133cf09 feat(translation): date/time picker translation possibility if using vue-i18n hace 8 años
src 24f9776f45 Fix popper.js bug in IE, #291 hace 8 años
.babelrc 3b539efb3a Use cooking@1.0.0-rc.2 hace 9 años
.eslintignore 5ff24db2ff Refactor build scripts, fix #148 hace 9 años
.eslintrc 3140e784b9 update pagination hace 9 años
.gitignore 5f2460c50d Update development page hace 9 años
.travis.yml 38cb32609c update progress hace 9 años
CHANGELOG.md 30003ec594 fix menu router prop bug when vertical mode hace 8 años
LICENSE da8a486fb2 add LICENSE hace 9 años
Makefile a94d35fb39 misc update hace 9 años
README.md 8976ac309c update element-in-laravel-starter hace 8 años
components.json cf3e15eab9 Dropdown Reconstruction hace 8 años
lerna.json e320f43c2d Initial commit hace 9 años
package.json b7208300a1 add lockScroll in msgbox and dialog hace 8 años

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