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

@bestmath/client-ui

v0.3.55

Published

佳学慧客户端Vue组件库

Downloads

6

Readme

客户端组件库 🎨

简介

客户端组件库,为了减少粘贴复制造成的功能缺失,把通用程度很高且重要组件统一管理

安装

npm install client-components

使用

import Vue from 'vue';
import ClientUI from 'client-components';
import 'client-components/package/index.less';

Vue.use(ClientUI);

开发规范 📏

1. 所有组件都放在 src/components 下,每个组件对应一个文件夹,统一中划线命名,组件名和文件夹同名。

2. 每个文件夹下新建一个 index.js 文件负责导出组件,导出统一用 export default。组件开发完毕后在 component 目录里的 index.js 导出已编写的组件

3. 每个组件 ❗ 必须提供 name 属性 ❗,name 命名规则可以大驼峰,如果未提供组件无法注册。

4. 每个组件写一个 markdown 来说明组件如何使用,一个 demo 文件夹下写一个组件示例,组件示例命名同组件名(示例请看 modal 组件下的 modal.md)

5. 说明:shared 存放所有组件公用的一些方法【directives: 自定义指令】 【mixins: 混入】【utils:工具函数】,其中工具函数统一通过 index.js 文件导出,工具函数请通过功能区分文件,区分方法可以讨论。

6. 说明:style 存放公共样式

启动文档

npm run docs:dev

启动项目

npm run serve

待开发组件

  • [ ] Radio
  • [ ] CheckBox
  • [ ] Toast

TODO

  • [ ] 组件内的样式提取到一个单独文件内