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

zeroview

v0.0.14

Published

[![CircleCI](https://circleci.com/gh/lalalazero/zeroview.svg?style=svg)](https://circleci.com/gh/lalalazero/zeroview)[![npm version](https://badge.fury.io/js/zeroview.svg)](https://badge.fury.io/js/zeroview)

Downloads

16

Readme

zeroview

CircleCInpm version

这是一套基于 Vue 2.6 的 UI 组件库。旨在学习 Vue 和手写组件,提高自己的熟练度。

:warning: 不要用在生产环境,这就是用来学习的。:joy_cat:

安装

yarn add zeroview 或者 npm install zeroview 安装

快速开始

button 组件为例

import Vue from 'vue'
import zeroview from 'zeroview'
import 'zeroview/dist/zeroview.css'

Vue.use(zeroview)

App.vue 中使用

<template>
  <div id="app">
    <z-view-button icon="like">点个赞</z-view-button>
  </div>
</template>

ps: 请使用如下 css-reset, 否则样式会有问题

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

目前完成了

  • [x] Button 按钮
    • [x] 示例文档
    • [x] 测试用例
  • [x] Icon 图标
    • [x] 示例文档
    • [x] 测试用例
  • [x] Grid 响应式栅格
    • [x] 示例文档
    • [x] 测试用例
  • [x] Layout 布局
    • [x] 示例文档
    • [x] 测试用例
  • [x] Menu 导航菜单
    • [x] 示例文档
    • [x] 测试用例
  • [x] Collapse 折叠面板
    • [x] 示例文档
    • [x] 测试用例
  • [x] Tab 标签
    • [x] 示例文档
    • [x] 测试用例
    • [ ] 纵向 tab
  • [x] Input 输入框
    • [x] 示例文档
    • [x] 测试用例
  • [x] Cascader 级联选择器
    • [x] 示例文档
    • [x] 测试用例
  • [x] Popover 弹出框
    • [x] 示例文档
    • [x] 测试用例
  • [x] Toast 消息提示
    • [x] 示例文档
    • [x] 测试用例
  • [x] Carousel 跑马灯
    • [x] 示例文档
    • [x] 测试用例
  • [x] Pagination 分页器
    • [x] 示例文档
    • [x] 测试用例
  • [x] Upload 文件上传
    • [ ] 示例文档(还缺少一个服务器emm)
    • [x] 测试用例
  • [x] Table 表格
    • [x] 示例文档
    • [ ] 测试用例
  • [x] Sticky
    • [x] 示例文档
  • [x] DatePicker 日期
    • [x] 示例文档
  • [x] Scroll 滑动(竖直方向)
    • [x] 示例文档

其他

  • [ ] 打包优化

组件库参考

参考了 elementui , antd , iview 这些组件库,包括样式设计、组件功能点。 以及本官网示例参考了 elementui 的做法,通过 markdown 文件来写示例。

学习文档

在写组件库的过程中,基本按照一个组件一个文档的方式记录了过程和一些比较容易踩坑的点。 具体的都在我的个人博客上。

交流

欢迎在本项目的 issue 留言,共同交流学习。