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

fangtian-design-docs

v1.0.0

Published

方田设计组件库文档

Downloads

4

Readme

方田设计组件库文档

这是方田设计组件库的统一文档站点,整合了业务组件库(CBC-Vue)和通用组件库(Pro-Components)的文档。

目录结构

docs/
├── .vitepress/         # VitePress 配置
├── guide/              # 开发指南
│   ├── introduction.md # 介绍
│   └── getting-started.md # 快速开始
├── cbc-vue/           # 业务组件库文档
│   ├── quick-start.md  # 快速上手
│   └── order-detail.md # 订单详情组件
├── pro-components/     # 通用组件库文档
│   └── index.md        # 索引页
└── index.md            # 首页

开发

安装依赖

cd docs
pnpm install

启动开发服务器

pnpm run dev

构建文档

pnpm run build

预览构建结果

pnpm run preview

添加新组件文档

添加业务组件文档

  1. docs/cbc-vue/ 目录下创建新的 Markdown 文件
  2. .vitepress/config.tssidebar['cbc-vue'] 中添加新的导航项

添加通用组件文档

  1. docs/pro-components/ 目录下创建新的 Markdown 文件
  2. .vitepress/config.tssidebar['pro-components'] 中添加新的导航项

注意事项

  • 文档使用 Markdown 格式编写
  • 组件示例代码应该使用 ```vue 代码块
  • 组件属性、事件、插槽等应该使用表格形式展示
  • 文档中的图片应该放在 docs/public 目录下