You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

husky-left-menu-plus

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

husky-left-menu-plus

适用于vue3的element-plus左侧菜单栏

0.1.4
unpublished
latest
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

husky-left-menu-plus

安装方法

npm install husky-left-menu-plus --save-dev

import huskyLeftMenuPlus from 'husky-left-menu-plus' //引入改组件
vue.use(huskyLeftMenuPlus)
// in xxx.vue
<template>
    <husky-left-menu
        :collapse="isCollapse"
        :menu-data="routeList"
    ></husky-left-menu>
</template>
    // 参数类型
    menuData: {
      type: Array<{
          path:String
          name?:String
          meta:{
              menuName: String
              menuIcon?:String
          }
      }>,
      default: () => [],
    },
    defaultActive: {
      type: String, //默认高亮的表单item 同element-plus
      default: () => '',
    },
    collapse: { type: Boolean, default: false }, //菜单栏展开收起 同element-plus
    backgroundColor: {
      type: String, //背景色 同element-plus
      default: () => '#001529',
    },
    textColor: {
      type: String, //文字颜色 同element-plus
      default: 'rgba(255,255,255,.65)',
    },
    activeTextColor: {
      type: String, //高亮的文字颜色 同element-plus
      default: '#fff',
    },

Keywords

vue3

FAQs

Package last updated on 31 Aug 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts