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:
7
node_modules/astro/dist/content/loaders/file.d.ts
generated
vendored
Normal file
7
node_modules/astro/dist/content/loaders/file.d.ts
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
import type { Loader } from './types.js';
|
||||
/**
|
||||
* Loads entries from a JSON file. The file must contain an array of objects that contain unique `id` fields, or an object with string keys.
|
||||
* @todo Add support for other file types, such as YAML, CSV etc.
|
||||
* @param fileName The path to the JSON file to load, relative to the content directory.
|
||||
*/
|
||||
export declare function file(fileName: string): Loader;
|
Reference in New Issue
Block a user