mirror of https://gitee.com/godoos/godoos.git
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.
31 lines
755 B
31 lines
755 B
import { createRouter, createWebHistory } from "vue-router";
|
|
|
|
const routes = [
|
|
// {
|
|
// path: '/',
|
|
// component: () => import('../pages/test.vue'), // 首页组件
|
|
// },
|
|
// {
|
|
// path: '/install',
|
|
// name: "install",
|
|
// component: () => import('../views/install/install.vue') // 关于我们组件
|
|
// },
|
|
// {
|
|
// path: "/login/github/next",
|
|
// name: "login-github",
|
|
// component: () => import("../components/desktop/GithubNext.vue"),
|
|
// },
|
|
{
|
|
path: "/:pathMatch(.*)*",
|
|
name: "not-found",
|
|
component: () => import('../components/window/NotFound.vue')
|
|
}
|
|
]
|
|
|
|
const router = createRouter({
|
|
history: createWebHistory(), // 路由类型
|
|
routes // short for `routes: routes`
|
|
})
|
|
|
|
|
|
export default router
|