style: run formatter
This commit is contained in:
parent
b5eae39f89
commit
35f5343149
20 changed files with 207 additions and 264 deletions
|
@ -1,64 +1,64 @@
|
|||
import { createRouter, createWebHistory } from "vue-router";
|
||||
import HomeView from "../views/HomeView.vue";
|
||||
import { createRouter, createWebHistory } from 'vue-router'
|
||||
import HomeView from '@/views/HomeView.vue'
|
||||
|
||||
import HomeIcon from "@/assets/icons/HomeIcon.vue";
|
||||
import IdCardIcon from "@/assets/icons/IdCardIcon.vue";
|
||||
import PaletteIcon from "@/assets/icons/PaletteIcon.vue";
|
||||
import BriefcaseIcon from "@/assets/icons/BriefcaseIcon.vue";
|
||||
import CircleInfoIcon from "@/assets/icons/CircleInfoIcon.vue";
|
||||
import HomeIcon from '@/assets/icons/HomeIcon.vue'
|
||||
import IdCardIcon from '@/assets/icons/IdCardIcon.vue'
|
||||
import PaletteIcon from '@/assets/icons/PaletteIcon.vue'
|
||||
import BriefcaseIcon from '@/assets/icons/BriefcaseIcon.vue'
|
||||
import CircleInfoIcon from '@/assets/icons/CircleInfoIcon.vue'
|
||||
|
||||
const router = createRouter({
|
||||
history: createWebHistory(import.meta.env.BASE_URL),
|
||||
scrollBehavior: () => {
|
||||
return { top: 0 };
|
||||
return { top: 0 }
|
||||
},
|
||||
routes: [
|
||||
{
|
||||
path: "/",
|
||||
name: "home",
|
||||
path: '/',
|
||||
name: 'home',
|
||||
component: HomeView,
|
||||
meta: {
|
||||
title: "nav.home",
|
||||
icon: HomeIcon,
|
||||
},
|
||||
title: 'nav.home',
|
||||
icon: HomeIcon
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/general",
|
||||
name: "general",
|
||||
component: () => import("@/views/GeneralView.vue"),
|
||||
path: '/general',
|
||||
name: 'general',
|
||||
component: () => import('@/views/GeneralView.vue'),
|
||||
meta: {
|
||||
title: "nav.general",
|
||||
icon: IdCardIcon,
|
||||
},
|
||||
title: 'nav.general',
|
||||
icon: IdCardIcon
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/anatomy",
|
||||
name: "anatomy",
|
||||
component: () => import("@/views/AnatomyView.vue"),
|
||||
path: '/anatomy',
|
||||
name: 'anatomy',
|
||||
component: () => import('@/views/AnatomyView.vue'),
|
||||
meta: {
|
||||
title: "nav.anatomy",
|
||||
icon: PaletteIcon,
|
||||
},
|
||||
title: 'nav.anatomy',
|
||||
icon: PaletteIcon
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/career-path",
|
||||
name: "career-path",
|
||||
component: () => import("@/views/CareerPathView.vue"),
|
||||
path: '/career-path',
|
||||
name: 'career-path',
|
||||
component: () => import('@/views/CareerPathView.vue'),
|
||||
meta: {
|
||||
title: "nav.careerPath",
|
||||
icon: BriefcaseIcon,
|
||||
},
|
||||
title: 'nav.careerPath',
|
||||
icon: BriefcaseIcon
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/attributions",
|
||||
name: "attributions",
|
||||
component: () => import("@/views/AttributionsView.vue"),
|
||||
path: '/attributions',
|
||||
name: 'attributions',
|
||||
component: () => import('@/views/AttributionsView.vue'),
|
||||
meta: {
|
||||
title: "nav.attributions",
|
||||
icon: CircleInfoIcon,
|
||||
},
|
||||
},
|
||||
],
|
||||
});
|
||||
title: 'nav.attributions',
|
||||
icon: CircleInfoIcon
|
||||
}
|
||||
}
|
||||
]
|
||||
})
|
||||
|
||||
export default router;
|
||||
export default router
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue