Kajoo-ai Sitecore Next.js components are a lightweight wrapper around the @sitecore-jss/sitecore-jss-nextjs
library.
Note: Use a matching version of this package with your project. For example, if your project is using @sitecore-jss/sitecore-jss-nextjs@v16.x
, then use @kajoo-ai/sitecore-nextjs@16.x
.
This package requires React and ReactDOM version greater than v17.0.1.
To install the package, you can use either npm or yarn:
npm install @kajoo-ai/sitecore-nextjs
or
yarn add @kajoo-ai/sitecore-nextjs
To import Kajoo Sitecore Next.js components:
import { ... } from '@kajoo-ai/sitecore-nextjs';
Make sure to replace ...
with the specific components you want to import.