Hook: ((params) => HookResponse | Promise<HookResponse>)
Type declaration
-
- (params): HookResponse | Promise<HookResponse>
-
Parameters
-
params: {
app?: Vue;
context?: Context;
initialState: Record<string, any>;
isClient: boolean;
url: URL | Location;
[key: string]: any;
}
-
[key: string]: any
-
Optional
app?: Vue
-
Optional
context?: Context
-
initialState: Record<string, any>
-
isClient: boolean
-
url: URL | Location
Returns HookResponse | Promise<HookResponse>