import type { RouteRecordRaw } from 'vue-router';

import { $t } from '#/locales';

const routes: RouteRecordRaw[] = [
  {
    name: 'SettingIndex',
    path: '/setting/index',
    component: () => import('#/views/setting/index.vue'),
    meta: {
      icon: 'lucide:settings',
      order: 99,
      authority: ['super_admin'], // 仅超级管理员可见
      title: $t('page.setting.title'),
    },
  },
];

export default routes;

