Socket
Book a DemoInstallSign in
Socket

@ant-design-vue/pro-layout

Package Overview
Dependencies
Maintainers
3
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ant-design-vue/pro-layout

English | [简体中文](./README.zh-CN.md)

0.1.0
npmnpm
Version published
Weekly downloads
1K
57.27%
Maintainers
3
Weekly downloads
 
Created
Source

English | 简体中文

Ant Design Pro Layout

Usage

npm i @vue-component/pro-layout --save
// or
yarn add @vue-component/pro-layout
import ProLayout from '@vue-component/pro-layout'

export default {
  name: 'BasicLayout',
  render () {
    return (
      <ProLayout>
        <router-view />
      </ProLayout>
    )
  }
}

API

ProLayout

PropertyDescriptionTypeDefault Value
titlelayout in the upper left corner titleVNode | String'Ant Design Pro'
logolayout top left logo urlVNode | render-
layoutlayout menu mode, sidemenu: right navigation, topmenu: top navigation'sidemenu' | 'topmenu''sidemenu'
contentWidthcontent mode of layout, Fluid: fixed width 1200px, Fixed: adaptivetrue | falsefalse
themeNavigation menu theme'light' | 'dark''dark'
menusvue-router routes propObject[{}]
collapsedcontrol menu's collapse and expansionbooleantrue
handleCollapsefolding collapse event of menu(collapsed: boolean) => void-
headerRendercustom header render method(props: BasicLayoutProps) => VNode-
rightContentRenderheader right content render method(props: HeaderViewProps) => VNode-
collapsedButtonRendercustom collapsed button method(collapsed: boolean) => VNode-

FAQs

Package last updated on 19 Nov 2019

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.