web / useProductRecommended
Function: useProductRecommended() ​
useProductRecommended(
categoryId
):useProductRecommended
Defined in: apps/web/composables/useProductRecommended/useProductRecommended.ts:16
Composable for managing recommended products data
Parameters ​
categoryId ​
string
Product slug
Returns ​
useProductRecommended
UseProductRecommendedReturn
Example ​
ts
const { data, loading, fetchProductRecommended } = useProductRecommended('1');