@szhou/components
TypeScript icon, indicating that this package has built-in type declarations

1.5.4 • Public • Published

@szhou/components

介绍

组件库包含react和vue3组件,默认导出vue3组件,以下介绍的均为vue3组件

安装

pnpm i @szhou/components

使用

//在项目的入口处(如main.ts)引入@szhou/components的css文件
import '@szhou/components/dist/vue/esm/style.css';

//在页面需要使用的地方按需引入组件
import { CustomCardComponent } from '@szhou/components';

<CustomCardComponent
  :isPagination="true"
  :headerTitle="'银行账户管理'"
  :formData="states.formData"
  :formCols="formCols"
  :tableData="states.tableData"
  :tableCols="tableCols"
  :pagination="states.pagination"
  :loading="states.loading"
  @loadData="loadData"
  @event="changeEvent"
></CustomCardComponent>

组件

参考packages\components\src\vue\index.ts

Readme

Keywords

none

Package Sidebar

Install

npm i @szhou/components

Weekly Downloads

5

Version

1.5.4

License

MIT

Unpacked Size

16.5 MB

Total Files

610

Last publish

Collaborators

  • shoujian