English | 中文
npm install -S @potjs/vue-layout
# or
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>
Property |
Description |
Type |
Default |
prefixCls |
- |
'pot' |
- |
menuTheme |
- |
dark, light |
- |
menuMode |
- |
- |
- |
menuData |
- |
- |
- |
menuIndent |
- |
- |
- |
menuKey |
- |
- |
- |
menuActive |
- |
- |
- |
trigger |
- |
- |
- |
Event Name |
Description |
menuSelect |
- |
Name |
Description |
default |
- |
logo |
- |
header |
- |
footer |
- |