Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
@ant-design-vue/pro-layout
Advanced tools
English | 简体中文
npm i @ant-design-vue/pro-layout --save
// or
yarn add @ant-design-vue/pro-layout
import ProLayout from '@ant-design-vue/pro-layout'
export default {
name: 'BasicLayout',
render () {
return (
<ProLayout>
<router-view />
</ProLayout>
)
}
}
Property | Description | Type | Default Value |
---|---|---|---|
title | layout in the upper left corner title | VNode | String | 'Ant Design Pro' |
logo | layout top left logo url | VNode | render | - |
layout | layout menu mode, sidemenu: right navigation, topmenu: top navigation | 'sidemenu' | 'topmenu' | 'sidemenu' |
contentWidth | content mode of layout, Fluid: fixed width 1200px, Fixed: adaptive | true | false | false |
theme | Navigation menu theme | 'light' | 'dark' | 'dark' |
menus | vue-router routes prop | Object | [{}] |
collapsed | control menu's collapse and expansion | boolean | true |
handleCollapse | folding collapse event of menu | (collapsed: boolean) => void | - |
headerRender | custom header render method | (props: BasicLayoutProps) => VNode | - |
rightContentRender | header right content render method | (props: HeaderViewProps) => VNode | - |
collapsedButtonRender | custom collapsed button method | (collapsed: boolean) => VNode | - |
FAQs
Ant Design Pro Layout of Vue, easy to use pro scaffolding.
The npm package @ant-design-vue/pro-layout receives a total of 2,549 weekly downloads. As such, @ant-design-vue/pro-layout popularity was classified as popular.
We found that @ant-design-vue/pro-layout demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.