home.ts 515 B

1234567891011121314151617181920212223242526272829
  1. import Layout from "/@/layout/index.vue";
  2. const homeRouter = {
  3. path: "/",
  4. name: "home",
  5. component: Layout,
  6. redirect: "/welcome",
  7. meta: {
  8. icon: "HomeFilled",
  9. title: "message.hshome",
  10. showLink: true,
  11. i18n: true,
  12. rank: 0
  13. },
  14. children: [
  15. {
  16. path: "/welcome",
  17. name: "welcome",
  18. component: () => import("/@/views/welcome.vue"),
  19. meta: {
  20. title: "message.hshome",
  21. i18n: true,
  22. showLink: true
  23. }
  24. }
  25. ]
  26. };
  27. export default homeRouter;