ViteModule
@tsed/vike
Usage
typescript
import { ViteModule } from "@tsed/vike";
Overview
ts
class ViteModule {
protected app: PlatformApplication;
protected platformView: PlatformViews;
protected viteService: ViteService;
protected viteServer: VITE_SERVER;
$onInit(): void;
$afterInit(): void;
$afterRoutesInit(): PlatformApplication<TsED.Application>;
}
protected app
ts
protected app: PlatformApplication;
protected platformView
ts
protected platformView: PlatformViews;
protected viteService
ts
protected viteService: ViteService;
protected viteServer
ts
protected viteServer: VITE_SERVER;
$onInit
ts
$onInit(): void;
$afterInit
ts
$afterInit(): void;
$afterRoutesInit
ts
$afterRoutesInit(): PlatformApplication<TsED.Application>;