文件操作 - routing.d.ts
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/@nuxtjs/i18n/dist/runtime/routing/routing.d.ts
编辑文件内容
import { type CommonComposableOptions } from '../utils.js'; import type { Locale } from 'vue-i18n'; import type { RouteLocationRaw, RouteRecordNameGeneric } from 'vue-router'; import type { CompatRoute } from '../types.js'; /** * Returns base name of current (if argument not provided) or passed in route. * * @remarks * Base name is name of the route without locale suffix and other metadata added by nuxt i18n module */ export declare function getRouteBaseName(common: CommonComposableOptions, route: { name?: RouteRecordNameGeneric | null; }): string | undefined; /** * Resolves a localized path of the passed in route. */ export declare function localePath(common: CommonComposableOptions, route: RouteLocationRaw, locale?: Locale): string; /** * Resolves a localized variant of the passed route. */ export declare function localeRoute(common: CommonComposableOptions, route: RouteLocationRaw, locale?: Locale): import("vue-router").RouteLocationResolvedGeneric | undefined; export declare function resolveRoute(common: CommonComposableOptions, route: RouteLocationRaw, locale?: Locale): import("vue-router").RouteLocationResolvedGeneric | null | undefined; /** * Resolve the localized path of the current route. */ export declare function switchLocalePath(common: CommonComposableOptions, locale: Locale, _route?: CompatRoute): string;
修改文件时间
将文件时间修改为当前时间的前一年
删除文件