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

uniapp-frame

v1.0.1

Published

uniapp框架,适合vue转uniapp

Downloads

6

Readme

写在前面的话

初始化项目后,打开manifest.json,选择'基础配置',重新获取'uni-app应用标识(AppID)',如果以后项目用uni-app的数据统计。 uni-app跨段开发注意

uview-ui弹窗滚动穿透

加catchtouchmove="noop",适用除支付宝外的小程序,支付宝小程序需要在本页面的最外层节点加:disable-scroll="弹窗show" h5,在最外层的view上加事件

<view class="u-popup" @touchmove.stop.prevent="noop">
<u-transition catchtouchmove="noop"></u-transition>
</view>

引入Uview,引入方式easycom

easycom打包的时候是按需引入的,您可以放心引入uView的整个组件库,发布打包时会自动剔除您没有使用的组件(注意:调试时仍然是全部引入的) 附官方文档:Uview

配置数据统计

地址:(https://ask.dcloud.net.cn/article/36303)

vscode配置uni-app

https://ask.dcloud.net.cn/article/36286

微信小程序扫二维码打开

[(https://mp.weixin.qq.com/wxamp/devprofile/get_profile?token=180915061&lang=zh_CN)]-->扫普通链接二维码打开小程序(添加)

uni.scss会编译到每个scss文件中(请着重理解这一句话)

微信小程序

1.如果在微信开发工具真机预览时,提示分包太大运行的问题,请在HBuilder X进行设置:菜单栏 运行 -> 运行到小程序模拟器,在下拉菜单中勾选"运行时是否压缩代码" 2.运行小程序时报错:TypeError: Cannot read property 'forceUpdate' of undefined 打开manifest.json---》微信小程序配置,填写appid

新发现

如果报错信息实在看不出来,不知道在哪里,npm run eslint,可以直接定位到报错页和报错项