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

ttz-ui

v0.0.5

Published

对elementPlus进行二次封装的组件库

Downloads

5

Readme

ttz-ui

自用 对 elementPlus 进行二次封装的组件库

介绍

  • feat 增加新功能
  • fix 修复问题/BUG
  • style 代码风格相关无影响运行结果的
  • perf 优化/性能提升
  • refactor 重构
  • revert 撤销修改
  • test 测试相关
  • docs 文档/注释
  • chore 依赖更新/脚手架配置修改等
  • types 类型定义文件更改
  • wip 开发中

使用说明

  • 安装依赖
npm install
  • 运行测试
npm run dev
  • 构建包
npm run build
  • 提交 npm 包
npm run pub

结构

  • dist:存放打包好的组件库的文件夹;
  • src/client:用于测试组件的文件目录;
  • src/component: 是用来存放封装好的组件的;
  • index.html:这是用来 npm run dev,由于组件库没有 html,这边就用 client 来当测试 demo,所以需要修改里面的配置;
  • vite.config.ts:主要配置 build 的打包参数;
  • src/index.ts:用于配置打包内容;
  • package.json 修改配置,使其指向生成的库文件;以及基础的配置信息,方便上传到 npm 中。

待办

  • BasicTable 操作列,增删,分页,单选,多选,插槽
  • ApiTable ,搜索表单
  • EditableTable rules校验,增删