You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
583 B

  1. import { $t } from "@/plugins/i18n";
  2. const { VITE_HIDE_HOME } = import.meta.env;
  3. const Layout = () => import("@/layout/index.vue");
  4. export default {
  5. path: "/",
  6. name: "Home",
  7. component: Layout,
  8. redirect: "/welcome",
  9. meta: {
  10. icon: "homeFilled",
  11. title: $t("menus.hshome"),
  12. rank: 0
  13. },
  14. children: [
  15. {
  16. path: "/welcome",
  17. name: "Welcome",
  18. component: () => import("@/views/welcome/index.vue"),
  19. meta: {
  20. title: $t("menus.hshome"),
  21. showLink: VITE_HIDE_HOME === "true" ? false : true
  22. }
  23. }
  24. ]
  25. } as RouteConfigsTable;