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 🙏

© 2026 – Pkg Stats / Ryan Hefner

vue-icui

v1.0.7

Published

Vue components based on Vue2.x and icui1.x

Readme

概述

vue-icui 是一套基于vue.js 的移动端组件库,封装了一系列组件,方便日常的开发工作。同时为了和底端的样式完全解耦,并提高样式文件的通用性,我们采用了直接封装icui.css的形式,这样在非vue环境,也可以直接使用icui.css文件,同时也减少了vue组件开发的负担。

为了加快开发速度,本组件结构大量参考了we-vue

使用说明

目前可以通过npm的方式来引入,引入后通过vue.use(icuiVue)的方式来使用

// npm
$ npm install vue-icui -S

在main.js里

import 'vue-icui/lib/style.css'
import icuiVue from 'vue-icui'

Vue.use(icuiVue)

开发说明

克隆代码,安装依赖,并运行本地服务

$ https://github.com/zhyjor/vue-icui
$ cd vue-icui && npm install
$ npm run dev
  • 开发的工作空间在src/componets,在该目录下添加vue组件,组件文件不包含样式,按照现有组件的格式写组件
  • src/index.js是入口文件,但是该文件是通过build/bin/build-enrty.js自动生成的,不需修改。新添加的组件脚本会自动识别,并添加引用到该文件里

api组件的开发

对于picker,toast,dialog组件的开发原则是api组件,即不必再页面引入组件,直接通过api调用的形式开发,请参考dialog组件,其api调用方式如下

this.dialog = this.$createDialog({
  type: 'confirm',
  title: '我是标题',
  content: '我是内容'
})
this.dialog.show()

调试说明

调试demo也是通过一个vue项目进行

  • 调试的工作空间是example/,在~/pages里添加测试模块
  • 路由通过~/router/nav.json配置