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

taro-ui-monorepo

v0.0.1

Published

基于Taro2.x的第三方组件库

Downloads

6

Readme

tarox-ui

初衷

本着不重复造轮子,但绝不怕造轮子的理念,tarox-ui 组件库的开发宗旨是:只开发 taro 以及 taro-ui 组件库没有,或者难以使用的组件,对于 tarotaro-ui 中功能和体验都已经做到上佳的组件,我们不会重复做没有意义的事情,而对于 tarotaro-ui 本来没有,后来做的体验更好的组件,如果没有明确的提升目标或者优化的方向,我们也会停止开发并在相应的组件中予以标识,但会一直提供支持。

组件库开发

  1. 在 src/components 下新增一个组件
  2. 在 pages/index 中引入组件
  3. 运行 yarn dev:mp(小程序) 或 yarn dev:h5(h5)预览组件在对应平台的展示效果
  4. 运行 yarn build 构建组件库
  5. 执行 yarn/npm publish 发布组件库

Installation

yarn add tarox-ui

为了使 taro-cui 的组件在 h5 环境中的 px 自动转换为 rem,需要编辑 Taro 项目的 config/index.js 文件的 h5 对象, 加入 tarox-ui, 如下:

{
  h5: {
    esnextModules: ['taro-ui', 'tarox-ui'],
  }
}

然后重新启动项目,就可以在项目中使用 tarox-ui 中的组件了。

Components

| 组件 | 描述 | 状态 | | ---------- | ---------------------------------------------------------------------------------------------------------------------------------- | ------- | | Timer | 倒计时组件 | stable | | WImage | 图片组件,弥补了 taro Image 组件难以处理图片路径错误的问题 | | Skeleton | 骨架屏组件,灵感来源于https://github.com/lentoo/taro-skeleton, 目前还有待完善,谨慎使用 | develop | | Price | 价格展示组件 | | NoData | 缺省状态组件,含文字和描述,均可通过传入属性自定义 | | Modal | 弹窗组件 | | BlockTitle | 块标题组件 | | Curtain | 幕帘组件 |

Contributors

开发计划

点此前往

更新日志

点此前往