core package
Core Vue Storefront 2 library.
Remarks
The @vue-storefront/core library is a core of the whole Vue Storefront 2 application. It defines common interfaces for all eCommerce integrations, factories for creating composables, logger, SSR helpers and more.
Enumerations
| Enumeration | Description |
|---|---|
| AgnosticOrderStatus |
Functions
| Function | Description |
|---|---|
| addBasePath(path) | Adds prefix with base path configured in router.base to provided url |
| renderContentFactory(factoryParams) | |
| sharedRef(value, key) | |
| sharedRef(key, _) | |
| track(id) | |
| useCategoryFactory(factoryParams) | |
| useContentFactory(factoryParams) | |
| useForgotPasswordFactory(factoryParams) | |
| useProductFactory(factoryParams) | |
| useReviewFactory(factoryParams) | |
| useSearchFactory(factoryParams) | |
| useStoreFactory(factoryParams) | |
| useUserOrderFactory(factoryParams) | |
| wrap(element) |
Interfaces
Variables
| Variable | Description |
|---|---|
| apiClientFactory | |
| configureContext | |
| configureFactoryParams | |
| configureSSR | |
| generateContext | |
| i18nRedirectsUtil | |
| integrationPlugin | |
| Logger | |
| mask | |
| onSSR | |
| registerLogger | |
| useBillingFactory | |
| useCartFactory | |
| useFacetFactory | |
| useMakeOrderFactory | |
| useShippingFactory | |
| useShippingProviderFactory | |
| useUserBillingFactory | |
| useUserFactory | |
| useUserShippingFactory | |
| useVSFContext | |
| useWishlistFactory | |
| VSF_CHANNEL_COOKIE | Default name of the cookie storing active channel code |
| VSF_COUNTRY_COOKIE | Default name of the cookie storing active country code |
| VSF_CURRENCY_COOKIE | Default name of the cookie storing active currency code |
| VSF_LOCALE_COOKIE | Default name of the cookie storing active localization code |
| VSF_STORE_COOKIE | Default name of the cookie storing active store code |
| vsfRef |