This commit is contained in:
algerkong
2021-07-19 17:36:48 +08:00
commit 4d1d44b0ae
21 changed files with 2446 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
import { createRouter, createWebHistory } from "vue-router";
import AppLayout from "@/layout/AppLayout.vue";
const layoutRouter = [
{
path: "",
name: "home",
component: () => import("@/views/home/index.vue"),
},
];
const routes = [
{
path: "/",
component: AppLayout,
children: layoutRouter,
},
];
export default createRouter({
routes: routes,
history: createWebHistory(),
});