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

gwi-qy-ui

v1.1.23

Published

PC-ADMIN

Downloads

57

Readme

gwi-ui-qy

安装

npm i gwi-qy-ui

引用

全局引用

import GwiUi from 'gwi-qy-ui'
import 'gwi-qy-ui/lib/theme/index.css'

Vue.use(GwiUi)

开发指南

框架介绍

build, config --- 打包的一些配置 docs --- 组件开发文档 examples --- 开发调试 packages --- 组件目录 public --- 入口html文件 src --- 组件引入配置 utils --- 工具类 vue.config.js --- webpack 配置

开始开发

首先在packages 文件夹新建一个组件文件夹。以按钮组件为例 1.新建 Button文件夹 (命名最好跟组件相关) 2.在Button文件夹新建一个index.js文件和一个src文件夹。index.js的作用是导出组件,以便页面引入。(具体导出参考代码) 3.在src文件夹新建一个index.vue文件。index.vue 主要实现组件功能。 4.组件开发完之后,在根目录下的src文件夹里的index.js里导入该组件。具体参考src/index.js 5.在根目录下的src文件夹里的lib-list.js,添加组件名以及路径。 具体参考src/lib-list.js. 执行打包指令会从里面写好的路径去打包组件。 6.执行 npm run lib:pub 执行打包指令。打包完后的代码在lib文件夹下。

指令

打包指令

npm run lib:pub

本地启动示例

npm run serve

组件使用文档

npm run docs:dev

每开发完一个组件,书写该组件对应的使用文档。在根目录下的docs文件夹下。 组件文件使用vuepress开发。具体请参考官方文档: https://www.vuepress.cn/guide/