Ei kuvausta

cinwell.li dba2bc7146 Merge pull request #138 from Leopoldthecoder/next 9 vuotta sitten
bin 7e05dab840 init message 9 vuotta sitten
examples 26037506a4 fix popover 9 vuotta sitten
fe.element e320f43c2d Initial commit 9 vuotta sitten
packages 26037506a4 fix popover 9 vuotta sitten
scripts 2e0a141943 fix encoding apostrophes/some components change to new template 9 vuotta sitten
src 2e0a141943 fix encoding apostrophes/some components change to new template 9 vuotta sitten
.babelrc 37a4b374f1 Update checkbox and tree 9 vuotta sitten
.eslintignore e320f43c2d Initial commit 9 vuotta sitten
.eslintrc 3140e784b9 update pagination 9 vuotta sitten
.gitignore e320f43c2d Initial commit 9 vuotta sitten
CHANGELOG.md 2d177056ff fix input-number 9 vuotta sitten
Makefile e320f43c2d Initial commit 9 vuotta sitten
README.md 8153996441 fix changelog 9 vuotta sitten
components.json 03f34f7d32 menu item group 9 vuotta sitten
fe.element_build.yml e320f43c2d Initial commit 9 vuotta sitten
lerna.json e320f43c2d Initial commit 9 vuotta sitten
package.json 61558fce82 update docs 9 vuotta sitten

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