From c781210ea1aba37dbd50c10476528cbce863b24d Mon Sep 17 00:00:00 2001 From: Johann150 Date: Wed, 3 Aug 2022 23:04:16 +0200 Subject: [PATCH] fix router for new page editor path --- packages/client/src/router.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/client/src/router.ts b/packages/client/src/router.ts index a2320b582..9a9f14876 100644 --- a/packages/client/src/router.ts +++ b/packages/client/src/router.ts @@ -12,7 +12,7 @@ const page = (loader: AsyncComponentLoader) => defineAsyncComponent({ export const routes = [{ path: '/@:initUser/pages/:initPageName/view-source', - component: page(() => import('./pages/page-editor/page-editor.vue')), + component: page(() => import('./pages/page-editor.vue')), }, { path: '/@:username/pages/:pageName', component: page(() => import('./pages/page.vue')), @@ -121,11 +121,11 @@ export const routes = [{ component: page(() => import('./pages/tag.vue')), }, { path: '/pages/new', - component: page(() => import('./pages/page-editor/page-editor.vue')), + component: page(() => import('./pages/page-editor.vue')), loginRequired: true, }, { path: '/pages/edit/:initPageId', - component: page(() => import('./pages/page-editor/page-editor.vue')), + component: page(() => import('./pages/page-editor.vue')), loginRequired: true, }, { path: '/pages',