Add normal
This commit is contained in:
parent
7671a71141
commit
607f28ee0e
8 changed files with 365 additions and 73 deletions
16
src/modules/router.ts
Normal file
16
src/modules/router.ts
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
import type { RouteRecordRaw } from "vue-router";
|
||||
|
||||
const route: RouteRecordRaw[] = [
|
||||
{
|
||||
path: "/manual/:name",
|
||||
name: "Manual",
|
||||
component: () => import("@/modules/01_manual/MainPage.vue"),
|
||||
},
|
||||
{
|
||||
path: "/:name",
|
||||
name: "Pages",
|
||||
component: () => import("@/modules/02_pages/MainPage.vue"),
|
||||
},
|
||||
];
|
||||
|
||||
export default route;
|
||||
Loading…
Add table
Add a link
Reference in a new issue