- Introduced blog routing using Next.js App Router - Implemented dynamic [slug] pages for blog posts - Added MDX-based content loading via lib/posts - Integrated shared TopBar layout with navigation - Established clear content, lib and component separation
4 lines
377 B
TypeScript
4 lines
377 B
TypeScript
export declare function getMaybePagePath(page: string, distDir: string, locales: readonly string[] | undefined, isAppPath: boolean): string | null;
|
|
export declare function getPagePath(page: string, distDir: string, locales: string[] | undefined, isAppPath: boolean): string;
|
|
export declare function requirePage(page: string, distDir: string, isAppPath: boolean): Promise<any>;
|