HookResponse: void | {
context?: SSRContext;
head?: HeadClient;
inserts?: {
body?: string;
bodyAttrs?: string;
dependencies?: string[];
headTags?: string;
htmlAttrs?: string;
};
pinia?: Pinia;
router?: Router;
store?: Store<any>;
}
Type declaration
Optional
context?: SSRContext
Optional
head?: HeadClient
Optional
inserts?: {
body?: string;
bodyAttrs?: string;
dependencies?: string[];
headTags?: string;
htmlAttrs?: string;
}
Optional
body?: string
Optional
bodyAttrs?: string
Optional
dependencies?: string[]
Optional
headTags?: string
Optional
htmlAttrs?: string
Optional
pinia?: Pinia
Optional
router?: Router
Optional
store?: Store<any>
Created hook response If the parameter is returned, the default action is enabled examle: if you return store, auto add initialState you can override this behavior(if you don’t return the store)