
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
@deppon/deppon-design
Advanced tools
Vant 组件封装库,基于 Vue 3 和 TypeScript。
npm install @deppon/deppon-design vant
// 方式 1: 从主入口引入(Van 前缀)
import { VanButton, VanCell } from '@deppon/deppon-design';
// 方式 2: 从组件目录引入(推荐,支持 tree-shaking)
import VanButton from '@deppon/deppon-design/es/Button';
import { VanCell, VanCellGroup } from '@deppon/deppon-design/es/Cell';
重要: 使用组件前需要引入样式文件。
// 方式 1: 引入所有组件样式(不推荐,会增加打包体积)
import '@deppon/deppon-design/es/style';
// 方式 2: 按需引入组件样式(推荐)
import '@deppon/deppon-design/es/Button/style';
import '@deppon/deppon-design/es/Cell/style';
<template>
<VanButton type="primary">按钮</VanButton>
<VanCell title="单元格" value="内容" />
</template>
<script setup lang="ts">
import VanButton from '@deppon/deppon-design/es/Button';
import { VanCell } from '@deppon/deppon-design/es/Cell';
import '@deppon/deppon-design/es/Button/style';
import '@deppon/deppon-design/es/Cell/style';
</script>
# 构建
npm run build
FAQs
UI component library based on Vant, Vue 3 and TypeScript
The npm package @deppon/deppon-design receives a total of 135 weekly downloads. As such, @deppon/deppon-design popularity was classified as not popular.
We found that @deppon/deppon-design demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.