🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@szhou/components

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@szhou/components

charm ui组件库

npmnpm
Version
1.5.8
Version published
Weekly downloads
41
105%
Maintainers
1
Weekly downloads
 
Created
Source

@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

FAQs

Package last updated on 14 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts