@cestc/scene-component
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

@cestc/scene-component

@cestc/scene-component

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

安装

npm i @cestc/scene-component

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

npm i @vue/composition-api
npm i ccxd-ux

全局注册

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

import * as SceneComponent from '@cestc/scene-component'

Vue.use(SceneComponent)

按需引用

import { 
  SearchBox, 
  ToolTipColumn 
  OperationColumn, 
  Table as TableComp, 
} from '@cestc/scene-component'

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

支持组件

工具函数

Readme

Keywords

none

Package Sidebar

Install

npm i @cestc/scene-component

Homepage

./

Weekly Downloads

46

Version

1.0.5

License

MIT

Unpacked Size

2.17 MB

Total Files

183

Last publish

Collaborators

  • cecloud-open-source-owner
  • monkeyfeiyu