UNPKG

@progress/sitefinity-nextjs-sdk

Version:

Provides OOB widgets developed using the Next.js framework, which includes an abstraction layer for Sitefinity communication. Additionally, it offers an expanded API, typings, and tools for further development and integration.

8 lines (7 loc) 221 B
export async function getServerSideCookie() { if (typeof window === 'undefined') { const headersModule = await import('next/headers'); return headersModule.cookies().toString(); } return ''; }