Skip to content

Latest commit

 

History

History
64 lines (52 loc) · 1.62 KB

README.zh-CN.md

File metadata and controls

64 lines (52 loc) · 1.62 KB

@potjs/vue-layout

npm downloads license node

中文 | English

安装

npm install -S @potjs/vue-layout
#
yarn add @potjs/vue-layout

快速开始

<template>
  <PotLayout>
    <template #default>your content</template>
    <template #header>your header</template>
    <template #footer>your footer</template>
  </PotLayout>
</template>

<script setup>
import { PotLayout } from '@potjs/vue-layout';
</script>

API

Props

参数 说明 类型 默认值
mode - 'pot' -
menuTheme - dark, light -
menuMode - - -
menuData - - -
menuIndent - - -
menuKey - - -
menuActive - - -
trigger - - -

Events

事件名称 说明
menuSelect -

Slots

Name 说明
default -
logo -
header -
footer -