utquidem
Version:
The meta-framework suite designed from scratch for frontend-focused modern web development.
20 lines (19 loc) • 503 B
TypeScript
export interface ServerRoute {
// modern js web entry name
entryName?: string;
// the url path for request match
urlPath: string;
// the default resource file to response to route
entryPath: string;
// if route is spa page
isSPA?: boolean;
// if route is ssr page
isSSR?: boolean;
// if route is api service
isApi?: boolean;
// ssr js bundle for ssr page
bundle?: string;
// if route has modern product
enableModernMode?: boolean;
// specialHeader?: SpecialHeader[];
}