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

26 lines
558 B
Vue
Raw Normal View History

2022-08-17 17:46:49 +08:00
<template>
<div>
2023-01-11 18:09:01 +08:00
<RouterButton :buttons="buttons" />
<LayoutContent>
<router-view></router-view>
</LayoutContent>
</div>
2022-08-17 17:46:49 +08:00
</template>
<script lang="ts" setup>
import LayoutContent from '@/layout/layout-content.vue';
2023-01-11 18:09:01 +08:00
import RouterButton from '@/components/router-button/index.vue';
import i18n from '@/lang';
2022-11-28 13:50:53 +08:00
2023-01-11 18:09:01 +08:00
const buttons = [
{
label: i18n.global.t('app.all'),
path: '/apps/all',
},
{
label: i18n.global.t('app.installed'),
path: '/apps/installed',
},
];
2022-08-17 17:46:49 +08:00
</script>