useNavigationSearch
Category:
Navigation & Routing
Composable to get search for SeoUrl entity for given path.
Types
ts
export function useNavigationSearch(): UseNavigationSearchReturn
ts
export type UseNavigationSearchReturn = {
/**
* Get {@link SeoUrl} entity for given path
* @example resolvePath("/my-category/my-product") or resolvePath("/") for home page
*/
resolvePath(path: string): Promise<Schemas["SeoUrl"] | null>;
};