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

uni-gmw-mall-components

v0.0.10-alpha

Published

基于uniapp封装商城常用的装修组件

Readme

项目介绍

基于uniapp + vue2 + router + element ui自研的PC端管理后台,目前正在开发中.

开发工具

  • HBuilderX 3.5.3

初始化

npm install

目录结构介绍

根目录
---common		公共模块
-----layout		框架公共布局文件,如404页面,左侧菜单,头部栏
-----services	存放业务API接口请求
-----utils		一些自定义的工具类
-----AppRouter	自定义路由配置
-----router.js	自定义路由链接配置
---pages		存放页面文件
---static		存在一些静态资源
---main.js		入口文件
---uni.scss		配置左侧菜单主题颜色和字体大小

关于修改element 组件样式问题

  • 在样式前面加入/deep/
::v-deep.className {
	//todo:
}

关于菜单组件icon使用

1、可以使用uniapp的图标 uniapp-icons

打包后nginx 配置

server {
  listen 80;
  server_name 访问的域名;
  # compression-webpack-plugin 配置
  gzip on;
  gzip_min_length 1k;
  gzip_comp_level 9;
  gzip_types text/plain application/javascript application/x-javascript text/css application/xml text/javascript application/x-httpd-php image/jpeg image/gif image/png;
  gzip_vary on;
  # 配置禁用 gzip 条件,支持正则,此处表示 ie6 及以下不启用 gzip(因为ie低版本不支持)
  gzip_disable "MSIE [1-6]\.";
  location / {
	# 项目路径
    root /www/html/www;
    try_files $uri $uri/ /index.html;
  }
}