1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-21 09:19:16 +08:00

25 lines
499 B
Vue
Raw Normal View History

2022-08-17 17:46:49 +08:00
<template>
2022-10-20 18:45:47 +08:00
<div>
<RouterButton :buttons="buttons" />
<LayoutContent>
<router-view></router-view>
</LayoutContent>
2022-10-20 18:45:47 +08:00
</div>
2022-08-17 17:46:49 +08:00
</template>
<script lang="ts" setup>
import LayoutContent from '@/layout/layout-content.vue';
import RouterButton from '@/components/router-button/index.vue';
2022-10-20 18:45:47 +08:00
const buttons = [
{
label: 'Mysql',
path: '/databases/mysql',
},
{
label: 'Redis',
path: '/databases/redis',
},
];
2022-08-17 17:46:49 +08:00
</script>