1.0.3 • Published 9 months ago

element-ui-rem v1.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
9 months ago

A Vue.js 2.0 UI Toolkit for Web.

Element will stay with Vue 2.x,基于 element-ui 2.15.13 二次开发,主要修改如下:

  • 单位 px 修改为 rem,换算比例值为 1:1,即 1px \= 1rem;

  • 引入插件 perfect-scrollbar 优化 table 组件滚动条效果;

  • 扩展 Dialog 组件参数 posTop(Dialog CSS 中的 top 值)、height(Dialog CSS 中的 height 值);

  • 新增 icon(字体图标)

Install

npm install element-ui-rem -S
或
yarn add element-ui-rem -S

Quick Start

import Vue from 'vue';
import Element from 'element-ui-rem';

Vue.use(Element);

// or
import {
  Select,
  Button,
  // ...
} from 'element-ui-rem';

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

Browser Support

Modern browsers and Internet Explorer 10+.

LICENSE

MIT