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 🙏

© 2025 – Pkg Stats / Ryan Hefner

hallo-ui

v1.0.0

Published

A Vue 3 UI component library

Downloads

6

Readme

简介

由于它刚起步,还在慢慢完善中

如果想学习 Vue3+Ts+Vite 组件库的搭建,那么它会是一个不错的选择

安装

# pnpm
$ pnpm add hallo-ui

# npm
$ npm install hallo-ui

# yarn
$ yarn add hallo-ui

使用

import { createApp } from 'vue'
import HalloUI from 'hallo-ui'
import App from './App.vue'

const app = createApp(App)
app.use(HalloUI).mount('#app')

更新日志

1、解决 Button 组件触发两次问题 在 Vue3 中,如果没有添加显示声明 emits 选项,那么任何在父组件中绑定的事件监听器(如@click)都会被当作原生事件监听器添加到子组件的根元素上,除非子组件显式通过 emits 声明了这些事件。所以,当用户添加 emits: ['click']后,Vue 就不会自动添加原生事件监听器,从而防止了两次触发。

2、解决 Input 组件双向绑定不生效问题 在 Vue3 中,modelValue 和 update:modelValue 是 v-model 的默认 prop 和事件名。如果你将 modelValue 改为 value 后双向绑定失效,是因为 Vue 的 v-model 默认行为与你的自定义命名不匹配。这一点跟 vue2 有较大的区别。