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

@chb.wang/zero-ui

v0.0.68

Published

Litter code front-end development component

Downloads

28

Readme

zero-ui

前端中后台配置化UI

特性

  • 基于ant-design-vue
  • 配置化生成 Form、Table
  • 更少的编码
  • 统一化UI

要求

  • [x] 保持和ant-design使用方式一致,支持按需加载,打包输出一致
  • [ ] 文档化,友好的文档和例子(输出editor)
  • [ ] Test,核心模块测试覆盖,保证健壮性
  • [ ] 输出一个模块,支持异步加载
  • [x] 优秀的抽象设计,支持自定义规则和物料

开发

安装依赖

npm install

demo

npm run serve

目录结构

|-- build 	# 编译、构建脚本
|-- es	    # 构建目标目录,es-module
|-- lib     # 构建目标目录
|-- examples # Demo 简单示例,验证配置化功能
|-- packages # 源代码
|	|-- Form   # 表单方案
|		|-- components # 内置组件
|		|-- core       # 配置化解析规则
|			|-- addons   # 模块插件
|			|-- definition # dsl 规则解析
|			|-- schema     # schema 规则解析
|			|-- config.js  # table 默认配置
|			|-- index.js   # exports
|		|-- mixins     # vue 混入,包含表单元素通用功能
|		|-- validate   # 校验规则
|		|-- Form.jsx   # 根组件
|		|-- index.js   # exports
|	|-- Table	 # 列表方案
|		|-- components # 内置组件
|		|-- core       # 配置化解析规则
|			|-- addons   # 模块插件
|			|-- definition # dsl 规则解析
|			|-- schema     # schema 规则解析
|			|-- action.js  # 方法转换
|			|-- config.js  # table 默认配置
|			|-- index.js   # exports
|		|-- style      # Themes
|		|-- Table.jsx  # 根组件
|		|-- index.js   # exports
|	|-- util   # 工具函数
|		|-- schemaPath.js # 生成 schema ObjectPath 映射,更快得检索指定路径 schema
|		|-- util.js       # 其他通用工具函数
|	|-- index.js # exports
|-- babel.config.js # babel配置
|-- .editorconfig	  # 编码风格配置
|-- .eslintrc.js	  # 代码扫描配置
|-- package.json
|-- README.md		    # 项目开发文档
|-- vue.config.js

文档

  • 组件介绍
  • 配置props
  • demo
    • demo可以通过更改配置,实时看到效果