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:
12
node_modules/astro/dist/vite-plugin-astro/index.d.ts
generated
vendored
Normal file
12
node_modules/astro/dist/vite-plugin-astro/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
import type * as vite from 'vite';
|
||||
import type { AstroSettings } from '../@types/astro.js';
|
||||
import type { Logger } from '../core/logger/core.js';
|
||||
import type { PluginCssMetadata as AstroPluginCssMetadata, PluginMetadata as AstroPluginMetadata } from './types.js';
|
||||
export { getAstroMetadata } from './metadata.js';
|
||||
export type { AstroPluginMetadata, AstroPluginCssMetadata };
|
||||
interface AstroPluginOptions {
|
||||
settings: AstroSettings;
|
||||
logger: Logger;
|
||||
}
|
||||
/** Transform .astro files for Vite */
|
||||
export default function astro({ settings, logger }: AstroPluginOptions): vite.Plugin[];
|
Reference in New Issue
Block a user