home.ts 450 B

1234567891011121314151617181920212223242526
  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. showLink: true,
  10. rank: 0
  11. },
  12. children: [
  13. {
  14. path: "/welcome",
  15. name: "welcome",
  16. component: () => import("/@/views/welcome.vue"),
  17. meta: {
  18. title: "message.hshome",
  19. showLink: true
  20. }
  21. }
  22. ]
  23. };
  24. export default homeRouter;