一个简单的vue3+windi.css库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

20 lines
493 B

import { useDefineRoutes, useRouteConfig } from "@/hook/useDefineRoute"
import { LAYOUT } from "@/router/constant"
export default useDefineRoutes([
{
path: '',
redirect: '/home',
component: LAYOUT,
children: [
{
path: 'home',
name: "HOME",
component: ()=>import("@/pages/Home/Home.vue"),
meta: {
title: "HOME"
}
}
]
}
])