This commit is contained in:
Twilight 2024-05-30 08:51:20 +08:00
parent 834928dbe9
commit 81a0420433
2 changed files with 9 additions and 1 deletions

View File

@ -15,6 +15,11 @@ const routes = [
// which is lazy-loaded when the route is visited.
component: () => import("@/views/Home.vue"),
},
{
path: "/editor",
name:"editor",
component: () => import("@/views/editor.vue"),
},
{
path: "/auth/login",
name: "login",
@ -50,7 +55,7 @@ const routes = [
name: "library.documents.view",
component: () => import("@/views/documents/View.vue"),
},
];
const router = createRouter({

3
src/views/editor.vue Normal file
View File

@ -0,0 +1,3 @@
<template>
</template>