2024-06-26 10:42:50 +00:00
|
|
|
import { IconAccountCircleLine } from "@halo-dev/components";
|
2023-11-13 08:56:08 +00:00
|
|
|
import { definePlugin } from "@halo-dev/console-shared";
|
|
|
|
import BasicLayout from "@uc/layouts/BasicLayout.vue";
|
|
|
|
import { markRaw } from "vue";
|
|
|
|
import Profile from "./Profile.vue";
|
|
|
|
|
|
|
|
export default definePlugin({
|
|
|
|
ucRoutes: [
|
|
|
|
{
|
|
|
|
path: "/",
|
|
|
|
component: BasicLayout,
|
|
|
|
name: "Root",
|
|
|
|
redirect: "/profile",
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: "profile",
|
|
|
|
name: "Profile",
|
|
|
|
component: Profile,
|
|
|
|
meta: {
|
2023-11-30 10:56:10 +00:00
|
|
|
title: "core.uc_profile.title",
|
2023-11-13 08:56:08 +00:00
|
|
|
searchable: true,
|
|
|
|
menu: {
|
2023-11-30 10:56:10 +00:00
|
|
|
name: "core.uc_sidebar.menu.items.profile",
|
2023-11-30 03:55:29 +00:00
|
|
|
group: "dashboard",
|
2023-11-16 07:51:19 +00:00
|
|
|
icon: markRaw(IconAccountCircleLine),
|
2023-11-13 08:56:08 +00:00
|
|
|
priority: 0,
|
|
|
|
mobile: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
});
|