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

ibg-base-layout

v0.1.0

Published

IBG前端管理后台Layout 布局组件,包含组合好的布局,分开的header menu breadcrumb content footer

Readme

说明

基于 ant design vue 组件库、less css 预处理器、windicss 封装的布局组件,仅用于 IBG 产研二部 使用

注意

  • 目前所有布局组件中对于背景和字体颜色采用了 less 变量,在 styles/var/* 文件下,使用时请全局引入使用
  • 面包屑和菜单项都是通过 router 配置和当前路由自动获取,内部封装的

使用示例

props: {
   routes: { type: Array as PropType<RouteRecordRaw[]>, // 当前路由 注意
   // 路由配置中的meta: {
   //    title: String, // 显示的文本
   //    icon: String, // 前面的icon
   //    hideMenu: Boolean, // 是否在菜单中隐藏
   //    activePath: String, // 和hideMenu true一起使用,隐藏时,设置菜单选中的路径项
   //    }
   required: true,
   },
   title: { type: String, },
   showTime: { type: Boolean, default: true,
  },
  logo: { type: String, },
  transMenuCallback: { type: Function as PropType<(menus: menuType[]) => void>, // 将routes转化为menu后执行,
  }
}
>
<script setup lang="ts">
import LayoutComponent from 'ibg-base-layout'

import { defaultRoute } from './router/src/defineRoute'
import logo from './assets/vue.svg'
</script>

<template>
  <LayoutComponent
    :routes="defaultRoute"
    :show-time="true"  // 是否显示时间
    :title="'测试'" // 标题
    :logo="logo" // logo
  >
   // 下面是以插槽的形式使用
    <template #title>
      <span>zhegeshibushi测试</span>
    </template>
    <template #action>
      <span>测试</span>
      <span>测试</span>
      <span>测试</span>
    </template>
  </LayoutComponent>
</template>

结果

https://venusgroup.feishu.cn/docx/RZzedQp3CoHiQDxVA9OcVhhtnPf