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 🙏

© 2024 – Pkg Stats / Ryan Hefner

sard-uniapp

v1.8.1

Published

sard-uniapp 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库

Downloads

115

Readme


介绍

sard-uniapp 是一套基于 Uniapp + Vue3框架开发的兼容多端的 UI 组件库。

sard-uniapp 兼容 H5 / 小程序 / APP(不支持 nvueuvue)。

特性

  • 🧩 70+个高质量组件,覆盖移动端主流场景
  • 💪 支持一套代码同时开发 H5 / 小程序 / App
  • 🌿 支持按需引入和 Tree Shaking
  • 📖 详尽的文档和案例展示
  • ʦ 使用 TypeScript 编写,提供完整的类型定义
  • 🌈 支持定制主题
  • 🌍 国际化支持
  • 🌙 支持暗黑模式
  • 🧪 单元测试覆盖率超过 80%,保障稳定性
  • ⭐️ 零外部依赖,不依赖三方 npm

开源协议

本项目基于 MIT 协议,请自由地享受和参与开源。

如何维护

克隆仓库到本地

git clone https://github.com/sutras/sard-uniapp.git

全局安装 pnpm(如果未安装)

npm install -g pnpm

使用 pnpm 安装依赖

pnpm install

修改 @dcloudio 源码

安装完依赖,需要修改@dcloudio 里面的一个地方,具体参考以下文档中的第一个问题(“热更新无效”):

https://zhuanlan.zhihu.com/p/665000866

运行开发环境

pnpm run dev

运行上面命令后会生成四个链接:

Local:   http://localhost:5173/sard-uniapp-docs/mobile/    (演示)
Network: http://192.168.1.121:5173/sard-uniapp-docs/mobile/ (局域网演示)
Local:   http://localhost:7761/sard-uniapp-docs/           (文档)
Network: http://192.168.1.121:7761/sard-uniapp-docs/       (局域网文档)