@shopware/nuxt-module
Version:
Nuxt 3 module for Shopware Frontends
29 lines (25 loc) • 826 B
TypeScript
import * as _nuxt_schema from '@nuxt/schema';
declare const _default: _nuxt_schema.NuxtModule<ShopwareNuxtOptions, ShopwareNuxtOptions, false>;
type ShopwareNuxtOptions = {
/**
* Endpoint for your shopware backend.
*
* Default demo store: "https://demo-frontends.swstage.store/"
*/
endpoint?: string;
shopwareEndpoint?: string;
accessToken?: string;
shopwareAccessToken?: string;
devStorefrontUrl?: string;
apiClientConfig?: {
timeout?: number | string;
};
/**
* Use user context in SSR mode. Warning: with wrong edge caching it can cause serving another user's data.
* Use when edge caching is configured properly.
*
* @default false
*/
useUserContextInSSR?: boolean;
};
export { type ShopwareNuxtOptions, _default as default };