Aucune description

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

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