13 lines
379 B
TypeScript
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
|
|
}
|
|
}
|