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

Home > @vue-storefront/core > UseContent

UseContent interface

Signature:

export interface UseContent<CONTENT, CONTENT_SEARCH_PARAMS, API extends PlatformApi = any> extends Composable<API> 

Extends: Composable

Properties

Property Modifiers Type Description
content ComputedProperty<CONTENT>
error ComputedProperty<UseContentErrors>
loading ComputedProperty<boolean>
search (params: CONTENT_SEARCH_PARAMS) => Promise<void>