🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

changzhen-weapp

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

changzhen-weapp

长贞微信小程序 UI 组件库

latest
npmnpm
Version
0.0.25
Version published
Weekly downloads
9
-30.77%
Maintainers
1
Weekly downloads
 
Created
Source

changzhen WeApp

微信小程序 UI 组件库

体验

拉取项目源码,用微信开发者工具打开 examples 目录运行。

快速上手

使用之前

在开始使用前,你需要先阅读 微信小程序自定义组件 的相关文档。

如何使用组件库

  • 安装依赖
npm i @changzhen/weapp
  • 开发者工具,构建npm

  • 添加需要的组件。在页面的 json 中配置(路径根据自己项目位置配置):

"usingComponents": {
  "no-data": "@changzhen/weapp/no-data/index"
}
  • 在 wxml 中使用组件:
<no-data description-text="暂无处方" />

编译组件

npm run dev

然后,将 `examples` 目录在微信开发者工具中打开即可。

## License
[MIT](http://opensource.org/licenses/MIT)

FAQs

Package last updated on 19 Jun 2025

Did you know?

Socket

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.

Install

Related posts