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

Home > @vue-storefront/core > sharedRef

sharedRef() function

Signature:

declare function sharedRef(key: string, _?: any): Ref;

Parameters

Parameter Type Description
key string
_ any (Optional)

Returns:

Ref