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:
15
node_modules/astro/dist/core/create-vite.d.ts
generated
vendored
Normal file
15
node_modules/astro/dist/core/create-vite.d.ts
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
import nodeFs from 'node:fs';
|
||||
import * as vite from 'vite';
|
||||
import type { AstroSettings } from '../@types/astro.js';
|
||||
import type { Logger } from './logger/core.js';
|
||||
interface CreateViteOptions {
|
||||
settings: AstroSettings;
|
||||
logger: Logger;
|
||||
mode: 'dev' | 'build' | string;
|
||||
command?: 'dev' | 'build';
|
||||
fs?: typeof nodeFs;
|
||||
sync: boolean;
|
||||
}
|
||||
/** Return a base vite config as a common starting point for all Vite commands. */
|
||||
export declare function createVite(commandConfig: vite.InlineConfig, { settings, logger, mode, command, fs, sync }: CreateViteOptions): Promise<vite.InlineConfig>;
|
||||
export {};
|
Reference in New Issue
Block a user