npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@sdata/web-vue

v1.6.0

Published

SD Design Vue: A Vue.js 3 UI Library

Readme

基于 Arco Design 的 Vue UI 组件库。

特性

全面

60 多个开箱即用的高质量组件, 可以覆盖绝大部份的业务场景。

主题配置

海量的样式 tokens, 支持全局以及组件级别的主题配置。有以下 2 种方式可以定制主题:

TypeScript 友好

所有组件都是用 TypeScript 编写的,所以天然的类型友好。

安装

npm package

# pnpm
pnpm add @sdata/web-vue

# npm
npm install @sdata/web-vue

# yarn
yarn add @sdata/web-vue

例子

import { createApp } from "vue";
import SDVue from "@sdata/web-vue";
import App from "./App.vue";
import "@sdata/web-vue/dist/sd.css";

const app = createApp(App);
app.use(SDVue);
app.mount("#app");

默认组件前缀为 sd-,例如 <sd-button /><sd-form />。如果需要自定义前缀,可以在 app.use(SDVue, { componentPrefix: 'YourPrefix' }) 中覆盖。

开发

仓库开发强制使用 pnpm workspace。不要在仓库根目录使用 npm 或 yarn 安装、联调或执行脚本。

推荐在仓库根目录执行:

pnpm install
pnpm run dev

常用命令:

# 根目录:启动组件库 watch + 文档站
pnpm run dev

# 根目录:显式全量开发入口
pnpm run dev:all

# 根目录:仅启动组件库开发构建
pnpm run dev:component

# 根目录:打包整个项目
pnpm run build

# 根目录:显式全量构建入口
pnpm run build:all

# 根目录:仅打包组件库
pnpm run build:component

# 根目录:运行测试
pnpm run test

# 根目录:运行组件测试和截图测试
pnpm run test:all

# 根目录:CI 检查
pnpm run check:ci

# 根目录:CI 构建入口
pnpm run build:ci

# 根目录:CI 测试入口
pnpm run test:ci

# 根目录:发版前全量校验
pnpm run release:check

pnpm run devpnpm run buildpnpm run test 会调用当前仓库已经切换完成的 Vite+ 和 Vitest 工作流。

如果只想在组件包内执行命令,也可以直接运行:

pnpm --filter @sdata/web-vue run dev
pnpm --filter @sdata/web-vue run build
pnpm --filter @sdata/web-vue run test
pnpm --filter @sdata/web-vue run test:update

相关链接

  • 暗黑模式
  • 主题配置
  • [Figma 设计资源](https://www.figma.com/file/FVu1DydEeXvJqXrkOb90Oi/SD Design%E7%BB%84%E4%BB%B6%E8%AE%BE%E8%AE%A1_2.0?node-id=5472%3A308)

参与贡献

贡献之前请先阅读 行为准则贡献指南

感谢所有为 SD Design 做过贡献的人!

License

GNU Affero General Public License v3.0