You are reading the documentation for Vue Storefront v2. See the latest docs.

Home > @vue-storefront/core > UseProduct

UseProduct interface

Signature:

export interface UseProduct<PRODUCTS, PRODUCT_SEARCH_PARAMS, API extends PlatformApi = any> extends Composable<API> 

Extends: Composable

Properties

Property Modifiers Type Description
error ComputedProperty<UseProductErrors>
loading ComputedProperty<boolean>
products ComputedProperty<PRODUCTS>

Methods

Method Description
search(params)