🎉 Initial New Design Project
This commit is contained in:
15
pkg/views/src/router/index.ts
Normal file
15
pkg/views/src/router/index.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import { createRouter, createWebHistory } from "vue-router"
|
||||
import MasterLayout from "@/layouts/master.vue"
|
||||
|
||||
const router = createRouter({
|
||||
history: createWebHistory(import.meta.env.BASE_URL),
|
||||
routes: [
|
||||
{
|
||||
path: "/",
|
||||
component: MasterLayout,
|
||||
children: [{ path: "/", name: "dashboard", component: () => import("@/views/dashboard.vue") }],
|
||||
},
|
||||
],
|
||||
})
|
||||
|
||||
export default router
|
Reference in New Issue
Block a user