bentleyer-scene-component

1.1.3 • Public • Published

bentleyer-scene-component

bentleyer-scene-component

bentleyer-scene-component是一个基于ccxd-ux进行二次封装的组件库,主要为自己业务封装的一些组件和常用的方法。目前包含表格组件Table,搜索框组件SearchBox,提示组件ToolTipColumn和操作列组件OperationColumn。此外还包括表格和搜索框联动方法useTable。目前支持vue2.

安装

npm i bentleyer-scene-component

在vue2中需要安装@vue/composition-api

npm i @vue/composition-api

全局注册

// 引入样式文件
import 'bentleyer-scene-component/lib/scene-component.css'

import * as SceneComponent from 'bentleyer-scene-component'

Vue.use(SceneComponent)

按需引用

import { 
  SearchBox, 
  ToolTipColumn 
  OperationColumn, 
  Table as TableComp, 
} from 'bentleyer-scene-component'

export default {
 ...
 components: {
    SearchBox,
    TableComp,
    OperationColumn,
    ToolTipColumn
  }
  ...
}

支持组件

Dependents (0)

Package Sidebar

Install

npm i bentleyer-scene-component

Homepage

./

Weekly Downloads

0

Version

1.1.3

License

MIT

Unpacked Size

6.1 MB

Total Files

109

Last publish

Collaborators

  • bentleyer