@potjs/vue-layout
v0.0.5
Published
```shell npm install -S @potjs/vue-layout # or yarn add @potjs/vue-layout ```
Downloads
3
Readme
English | 中文
Install
npm install -S @potjs/vue-layout
# or
yarn add @potjs/vue-layout
Quickstart
<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
| Property | Description | Type | Default | | --------------------- | --------------------- | --- | --- | | prefixCls | - | 'pot' | - | | menuTheme | - | dark, light | - | | menuMode | - | - | - | | menuData | - | - | - | | menuIndent | - | - | - | | menuKey | - | - | - | | menuActive | - | - | - | | trigger | - | - | - |
Events
| Event Name | Description | | --------------------- | ------------------------------------------------ | | menuSelect | - |
Slots
| Name | Description | | --------------------- | ------------------------------------------------ | | default | - | | logo | - | | header | - | | footer | - |