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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@wqxf/base-components

v0.2.11

Published

卫勤先锋基础组件库

Readme

一 项目简介

卫勤先锋基础组件库

二 环境要求

2.1 开发环境

  • 操作系统:Windows 10/11,MacOS;
  • Node 16.14.0 及以上版本(某些情况下可能需要安装 Python3 环境);
  • pnpm v10.1.0及以上版本;
  • yarn v1.22.x版本;
  • 浏览器推荐使用 Chrome 90及以上版本;
  • Visual Studio Code (简称VSCode)

2.2 运行环境

Nginx 1.18.0 及以上版本

三 浏览器支持

Google Chrome 浏览器,不支持IE

四 使用说明

4.1 开发环境

4.1.1 安装pnpm

推荐使用 pnpm,若使用 yarn ,建议使用 Yarn v1.22.x 版本,否则可能出现依赖安装失败的情况。 在Windows的PowerShell中执行如下命令 iwr https://get.pnpm.io/install.ps1 -useb | iex MacOS 通过 Homebrew 安装 pnpm若已经安装了 Homebrew 软件包管理器,则可以使用如下命令赖安装 pnpm: brew install pnpm 也可以通过 npm 安装 pnpm或者yarn npm install -g pnpm 或 npm install -g yarn

4.1.2 安装依赖

使用如下命令安装项目依赖 pnpm install

4.1.3 后端接口配置

修改项目根目录 .env.development 中的后端接口地址 VITE_APP_BASE_URL=''

4.1.4 本地运行

完成上述操作后,使用如下命令运行前端项目 pnpm serve

4.2 运行环境

测试或生产环境 如果需要测试或生产环境发布,使用如下命令打包项目 pnpm build 然后将项目根目录下 /dist/ 中所有的文件上传至服务器。

五 常见问题

5.1 修改项目基本信息

打开项目根目录 .env 文件,可以看到 本地运行端口号、网站标题、简称 等配置。 端口号 VITE_PORT =3100

网站标题 VITE_APP_TITLE= 卫勤先锋

5.2 代码更新后报错

在开发或打包时报依赖缺失,可以先删除项目根目录下的 pnpm-lock.yaml 文件,然后重新执行 pnpm install 安装依赖即可解决。