No Description

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

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