Refactor routing in App component to enhance navigation and improve error handling by integrating dynamic routes and updating the NotFound route.
This commit is contained in:
9
node_modules/astro/dist/assets/utils/resolveImports.d.ts
generated
vendored
Normal file
9
node_modules/astro/dist/assets/utils/resolveImports.d.ts
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
/**
|
||||
* Resolves an image src from a content file (such as markdown) to a module ID or import that can be resolved by Vite.
|
||||
*
|
||||
* @param imageSrc The src attribute of an image tag
|
||||
* @param filePath The path to the file that contains the imagem relative to the site root
|
||||
* @returns A module id of the image that can be rsolved by Vite, or undefined if it is not a local image
|
||||
*/
|
||||
export declare function imageSrcToImportId(imageSrc: string, filePath?: string): string | undefined;
|
||||
export declare const importIdToSymbolName: (importId: string) => string;
|
Reference in New Issue
Block a user