UNPKG

nuxt

Version:

Nuxt is a free and open-source framework with an intuitive and extendable way to create type-safe, performant and production-grade full-stack web applications and websites with Vue.js.

8 lines (7 loc) 352 B
import type { InjectionKey } from 'vue'; import type { RouteLocationNormalizedLoaded } from 'vue-router'; export interface LayoutMeta { isCurrent: (route: RouteLocationNormalizedLoaded) => boolean; } export declare const LayoutMetaSymbol: InjectionKey<LayoutMeta>; export declare const PageRouteSymbol: InjectionKey<RouteLocationNormalizedLoaded>;