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

uni-wui

v2.1.4

Published

uni-wui是使用uni-app开发的微信小程序,H5端的UI组件库,组件高可用,可扩展,可商用

Downloads

9

Readme

前言

uni-wui 是使用 uni-app 开发的微信小程序,H5 端的 UI 组件库,组件高可用,可扩展,可商用

特性

  • 组件高可用,方便扩展,开箱即用
  • 注重业务组件的开发,让你的工作如虎添翼
  • 按需引入,减少打包体积

预览

您可以通过微信扫码,查看最佳的演示效果

Image text

源码地址

uni-wui 组件库地址

小程序演示地址

文档作者正在写...

如果喜欢 uni-wui 可给个 Star,感谢!

交流

如果有什么技术问题,可以加作者微信,一起交流学习!

Image text

也可以加入 QQ 群进行技术交流(群号:480607638)!

Image text

开始使用

npm 安装 uni-wui

// 如果您的项目是HX创建的,根目录又没有package.json文件的话,请先执行如下命令:
// npm init -y

// 安装
npm install uni-wui

// 更新
npm update uni-wui

main.js 引入 uni-wui

import uniWui from 'uni-wui'
Vue.use(uniWui)

App.vue 引入 uni-wui 的样式

@import "uni-wui/index.scss";

(注意:uni-app 使用 scss 样式,请先安装 sass)


使用"easycom"模式引入组件

使用"easycom"模式更方便组件使用,使用简单,而且是 uni-app 官方推荐的用法 pages.json 使用"easycom"引入 uni-wui

"easycom": {
	"autoscan": true,
	"custom": {
		"^w-(.*)": "uni-wui/components/w-$1/w-$1.vue"
	}
},

使用组件

index.vue 使用"w-button"组件测试 uni-wui 是否成功引入

<w-button type="primary">默认按钮</w-button>