Files
opencloud/src/types/router.d.ts
T
2026-07-18 20:49:09 +08:00

13 lines
379 B
TypeScript

import type { RouteLocationNormalizedLoaded } from 'vue-router'
declare module 'vue-router' {
interface RouteMeta {
title?: string | ((route: RouteLocationNormalizedLoaded) => string)
description?: string | ((route: RouteLocationNormalizedLoaded) => string)
canonicalPath?: string
noindex?: boolean
requiresAuth?: boolean
requiresAdmin?: boolean
}
}