Go to file
cinwell.li a8f6ae8db9 Merge pull request #140 from Leopoldthecoder/next
cancel inline-style for table <td> white-space
2016-09-02 15:47:38 +08:00
bin init message 2016-08-15 11:51:25 +08:00
examples cancel inline-style for table <td> white-space 2016-09-02 15:41:52 +08:00
fe.element Initial commit 2016-07-27 14:15:02 +08:00
packages cancel inline-style for table <td> white-space 2016-09-02 15:41:52 +08:00
scripts fix encoding apostrophes/some components change to new template 2016-08-26 15:37:38 +08:00
src fix encoding apostrophes/some components change to new template 2016-08-26 15:37:38 +08:00
.babelrc Update checkbox and tree 2016-08-12 14:45:06 +08:00
.eslintignore Initial commit 2016-07-27 14:15:02 +08:00
.eslintrc update pagination 2016-07-29 17:46:16 +08:00
.gitignore Initial commit 2016-07-27 14:15:02 +08:00
CHANGELOG.md fix input-number 2016-09-02 12:12:03 +08:00
Makefile Initial commit 2016-07-27 14:15:02 +08:00
README.md fix changelog 2016-09-01 14:43:47 +08:00
components.json menu item group 2016-08-23 11:32:37 +08:00
fe.element_build.yml Initial commit 2016-07-27 14:15:02 +08:00
lerna.json Initial commit 2016-07-27 14:15:02 +08:00
package.json update docs 2016-08-31 12:42:44 +08:00

README.md

Element

UI Elements for admin page.

Demo/Docs

http://element-test.faas.elenet.me/

Usages

npm install element-ui

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, ElSelect)
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 Select from 'element-ui/lib/theme-default/select.css';
import Button from 'element-ui/lib/button';
import Button from 'element-ui/lib/theme-default/button.css';

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

babel-plugin-component

.babelrc

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

Changelog

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

LICENSE

MIT