Skip to content

configureStoresynk

configureStoresynk(config): void

Defined in: @storesynk/next/dist/config.d.ts:48

Programmatic config - the one place to set store behavior in a Next app. Put the call in a root storesynk.config.ts and import it (for its side effect) at the TOP of app/layout.tsx, so it runs at module scope before any Storesynk component renders. domain/token default to the env credentials; everything else (locale, customer accounts, pixels, cart) is set here.

StoresynkUserConfig

void