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:
17
node_modules/astro/dist/vite-plugin-astro-server/plugin.d.ts
generated
vendored
Normal file
17
node_modules/astro/dist/vite-plugin-astro-server/plugin.d.ts
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
import type fs from 'node:fs';
|
||||
import type * as vite from 'vite';
|
||||
import type { AstroSettings, SSRManifest } from '../@types/astro.js';
|
||||
import type { Logger } from '../core/logger/core.js';
|
||||
export interface AstroPluginOptions {
|
||||
settings: AstroSettings;
|
||||
logger: Logger;
|
||||
fs: typeof fs;
|
||||
}
|
||||
export default function createVitePluginAstroServer({ settings, logger, fs: fsMod, }: AstroPluginOptions): vite.Plugin;
|
||||
/**
|
||||
* It creates a `SSRManifest` from the `AstroSettings`.
|
||||
*
|
||||
* Renderers needs to be pulled out from the page module emitted during the build.
|
||||
* @param settings
|
||||
*/
|
||||
export declare function createDevelopmentManifest(settings: AstroSettings): SSRManifest;
|
Reference in New Issue
Block a user