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

Home > @vue-storefront/core > useStoreFactory

useStoreFactory() function

Signature:

export declare function useStoreFactory<STORES>(factoryParams: UseStoreFactoryParams<STORES>): UseStore<STORES>;

Parameters

Parameter Type Description
factoryParams UseStoreFactoryParams<STORES>

Returns:

UseStore<STORES>