Нема описа

Leopoldthecoder c4a87761e3 fix pagination icon and dialog slot пре 9 година
bin 7e05dab840 init message пре 9 година
examples 1fd574c5c4 add quickstart and develop page пре 9 година
fe.element e320f43c2d Initial commit пре 9 година
packages c4a87761e3 fix pagination icon and dialog slot пре 9 година
scripts 2e0a141943 fix encoding apostrophes/some components change to new template пре 9 година
src 2e0a141943 fix encoding apostrophes/some components change to new template пре 9 година
.babelrc 37a4b374f1 Update checkbox and tree пре 9 година
.eslintignore e320f43c2d Initial commit пре 9 година
.eslintrc 3140e784b9 update pagination пре 9 година
.gitignore e320f43c2d Initial commit пре 9 година
CHANGELOG.md 378de73624 changelog пре 9 година
Makefile e320f43c2d Initial commit пре 9 година
README.md e320f43c2d Initial commit пре 9 година
components.json 03f34f7d32 menu item group пре 9 година
fe.element_build.yml e320f43c2d Initial commit пре 9 година
lerna.json e320f43c2d Initial commit пре 9 година
package.json 1fd574c5c4 add quickstart and develop page пре 9 година

README.md

Element

UI Elements for admin page.

Demo/Docs

https://element-component.github.io/element

Usages

npm i element-ui -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, 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"
    }
  ]]]
}

LICENSE

MIT