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

lh-ui

v1.4.1-beta.68

Published

a friendly ui for vue

Downloads

208

Readme

lh-ui

a friendly ui for vue

版本规则

alpha 版本可以用于一些自己内测的时候用的类似于这样的。 beta版本用于公测的时候用的 1.0.0-alpha.1
1.0.0-alpha.2 ##当前正式版本 "version": "2.5.4", ##当前自测版本 "version": "1.4.1-beta.68",

淘宝镜像地址

当cnpm执行不成功的时候 http://www.npmmirror.com/package/lh-ui 下次淘宝镜像更新失败或者不及时,可以点进 去这个网站。点sync多拉几次。

主题包

theme-red: [定制版平台-南京、东莞、华宝、哈密、江南农商、国泰、中山农商、青岛农商、佛山农商行、江门农商、晋商银行、中信银行] theme-common: [同业-定制版、见智后台、ABS后台、ABS录入后台、App后台、人工清洗、新闻录入、转档平台、鉴权中心、报告作业平台、舆情分销平台、标准接口平台、爬虫后台、新闻舆情标记平台、智能写作平台] theme-three: [见智3.0系列-公共详情页、信用债、ABS、金融同业、区域分析、3C评级]

theme-teda: [泰达宏利] theme-turquoise: [富邦华一] theme-srcb: [定制版平台-上海农商银行]

代码结构

examples 以及 public文件夹是 demo的代码。 packages以及src、static 是 组件的代码,demo可以引用组件中的资源,组件不可以引用demo的资源。 打包的时候先执行npm run build,再执行npm run publish npm run dev ==> npm run serve

代码规范

packages的文件夹必须大驼峰命名。同理packages/index.js 中的名称也需要用大驼峰,其他情况用小驼峰。

两种调用方式

调用方式1:全部引用 import LhUi from 'lh-ui'; Vue.use(LhUi); 即可。 全部引用不要修改任何配置 调用方式2:按需引用 import {Input,Rate} from 'lh-ui';Vue.use(Input).use(Rate); 按需引用需要增加配置。 在 babel.config.js 中新增 "plugins": [ [ "import", { "libraryName": "lh-ui",//组件库名称 "camel2DashComponentName": false,//关闭驼峰自动转链式 "camel2UnderlineComponentName": false//关闭蛇形自动转链式 } ], ] 在 package.json 中的 devDependencies中新增 "babel-plugin-import": "^1.13.3",

GIT

git 提交的时候会遇到一个忽略大小写的问题。各位请注意