/
githubmirror
/
halo
Обзор
Документация
Войти
/
githubmirror
/
halo
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
ui/console-src/modules/system/settings/module.ts
32 строки
797 B
Ryan Wang
Refactor to use async component imports (#7941)
17 ноя 2025, 04:36
Не верифицирован
17 ноя 2025, 04:36
b434574
Код
Авторство
О чём код?
import BasicLayout from "@console/layouts/BasicLayout.vue"; import { IconSettings } from "@halo-dev/components"; import { definePlugin } from "@halo-dev/ui-shared"; import { markRaw } from "vue"; export default definePlugin({ components: {}, routes: [ { path: "/settings", name: "SettingsRoot", component: BasicLayout, meta: { title: "core.setting.title", permissions: ["system:settings:view"], menu: { name: "core.sidebar.menu.items.settings", group: "system", icon: markRaw(IconSettings), priority: 2, }, }, children: [ { path: "", name: "SystemSetting", component: () => import("./SystemSettings.vue"), }, ], }, ], });