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.

12 lines (11 loc) 543 B
import { ComputedRef, InjectionKey } from "vue"; import { RouteLocationNormalizedLoaded } from "vue-router"; //#region src/app/components/injections.d.ts interface LayoutMeta { isCurrent: (route: RouteLocationNormalizedLoaded) => boolean; } declare const LayoutMetaSymbol: InjectionKey<LayoutMeta>; declare const LayoutSymbol: InjectionKey<Readonly<ComputedRef<string | false>>>; declare const PageRouteSymbol: InjectionKey<RouteLocationNormalizedLoaded>; //#endregion export { LayoutMeta, LayoutMetaSymbol, LayoutSymbol, PageRouteSymbol };