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 🙏

© 2026 – Pkg Stats / Ryan Hefner

native-app-ui-vue3

v1.0.28

Published

品杰科技H5本地应用浏览器端支持库

Readme

本组件适用于Vue3版本

1. 起步

在main.js中添加如下代码, 以下代码为此库依赖的第三方库:

import nui from "native-app-ui-vue3"
import "native-app-ui-vue3/lib/style.css"

Vue.use(nui);

2. 组件使用

2.1 nau-window

<nau-window 
	 :status-bar="true" 
	 :title-bar="true" 
	 :min-btn="true" 
	 :max-restore-btn="true" 
	 :close-btn="true"
	 icon="" 
	 title="" >
    <hello-world></hello-world>
</nau-window>

/* 属性说明
status-bar:是否显示状态栏,默认为true,状态栏支持窗口大小调整
title-bar:是否显示标题栏,默认为true,标题栏包含图标、标题、最小化、最大化/还原、关闭按钮

min-btn:是否显示最小化按钮,默认为true
max-restore-btn:是否显示最大化和还原按钮,默认为true
close-btn:是否显示关闭按钮,默认为true
以上三个按钮的控制必须在title-bar=true时才能生效

icon:窗体左上角的图标
title:窗体的标题
以上两个参数的必须在title-bar=true时才能生效

插槽:
icon:位于标题栏左上角,优先级低于属性icon,用于自定义图标
status:自定义状态栏内容,必须在属性statusBar=true时才能生效
默认:窗体内容
controls:用于自定义按钮,位于默认最小化、最大化、关闭按钮之后
*/

2.2. nau-title-bar

<nau-title-bar  :close-btn="true" 
        :max-restore-btn="true" 
        :min-btn="true"
        icon="icon-img-url" 
        title="title">
	<slot></slot>
</nau-title-bar>

/* 属性说明
min-btn:是否显示最小化按钮,默认为true
max-restore-btn:是否显示最大化和还原按钮,默认为true
close-btn:是否显示关闭按钮,默认为true

icon:窗体左上角的图标
title:窗体的标题

插槽:
默认插槽:用于自定义图标,位于标题前方,和icon属性只能二选一,优先级低于icon属性
controls:用于自定义按钮,位于默认最小化、最大化、关闭按钮之后
*/

2.3. nau-status-bar

<nau-status-bar>
	<slot></slot>
</nau-status-bar>

/* 属性说明
默认插槽位于左侧
*/

3. 注意事项

vue2版本请使用 npm i native-app-ui