0.1.99 • Published 5 years ago

@unicorn1984/mkui-bs v0.1.99

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

quick start

项目介绍

mkui-bs项目基于mkui开发,主要是业务组件。

install

package.json 中加入 "mkui-bs": "git+ssh://git@gitee.com:maycur_front/mkui-bs-runtime.git#0.1.0",
$ npm install mkui-bs

使用

import { TableFilter } from 'mkui-bs';

按需加载

下面两种方式都可以只加载用到的组件。

  • 使用 babel-plugin-import(推荐)。

    // .babelrc or babel-loader option
    {
      "plugins": [
        ["import", { "libraryName": "mkui-bs", "libraryDirectory": "es", "style": "css" }] // `style: true` 会加载 less 文件
      ]
    }

    注意:webpack 1 无需设置 libraryDirectory

    然后只需从 mkui-bs 引入模块即可,无需单独引入样式。等同于下面手动引入的方式。

    // babel-plugin-import 会帮助你加载 JS 和 CSS
    import { TableFilter } from 'mkui-bs';

版本记录

版本记录

0.1.8

2018-12-20

  • 🌟 Add SideMenu component

0.1.7

2018-08-20

  • 🌟 Add layout component
  • 🌟 Add currency input component
  • 🌟 Add percent input component

0.1.6

2018-08-10 🐞 Fix issue of table filter

0.1.5

2018-07-20

  • 🌟 Add table filter component

0.1.0

2018-07-1

  • 🌟 hello word