diff --git a/next-ui/src/pages/[...path].vue b/next-ui/src/pages/[...path].vue new file mode 100644 index 00000000..1ecddac5 --- /dev/null +++ b/next-ui/src/pages/[...path].vue @@ -0,0 +1,38 @@ + + + + + +meta: + layout: single + noAuth: true + diff --git a/next-ui/src/typed-router.d.ts b/next-ui/src/typed-router.d.ts index 12013392..ed3fbb46 100644 --- a/next-ui/src/typed-router.d.ts +++ b/next-ui/src/typed-router.d.ts @@ -19,6 +19,7 @@ declare module 'vue-router/auto-routes' { */ export interface RouteNamedMap { '/': RouteRecordInfo<'/', '/', Record, Record>, + '/[...path]': RouteRecordInfo<'/[...path]', '/:path(.*)', { path: ParamValue }, { path: ParamValue }>, '/account/activity': RouteRecordInfo<'/account/activity', '/account/activity', Record, Record>, '/account/api-keys': RouteRecordInfo<'/account/api-keys', '/account/api-keys', Record, Record>, '/account/details': RouteRecordInfo<'/account/details', '/account/details', Record, Record>, @@ -58,6 +59,10 @@ declare module 'vue-router/auto-routes' { routes: '/' views: never } + 'src/pages/[...path].vue': { + routes: '/[...path]' + views: never + } 'src/pages/account/activity.vue': { routes: '/account/activity' views: never