Skip to content

Commit 2d8b514

Browse files
change refs in headless-ssr samples to reflect new ssr subpath
https://coveord.atlassian.net/browse/KIT-2661
1 parent 1bb71c4 commit 2d8b514

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

packages/headless-react/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"license": "Apache-2.0",
1818
"type": "module",
1919
"exports": {
20-
"ssr": "./dist/ssr/index.js"
20+
"./ssr": "./dist/ssr/index.js"
2121
},
2222
"files": [
2323
"dist"

packages/samples/headless-ssr/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## About
22

33
- This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
4-
- It demonstrates usage of the framework agnostic `@coveo/headless/ssr` and `@coveo/headless-react` utils for Server-Side Rendering with headless.
4+
- It demonstrates usage of the framework agnostic `@coveo/headless/ssr` and `@coveo/headless-react/ssr` utils for Server-Side Rendering with headless.
55
- Although NextJS is used to demonstrate SSR usage for convenience, the utils are not specific to NextJS.
66

77
## Getting Started

packages/samples/headless-ssr/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@coveo/headless-ssr-samples",
3-
"description": "Examples using framework agnostic @coveo/headless/ssr utils and @coveo/headless-react",
3+
"description": "Examples using framework agnostic @coveo/headless/ssr utils and @coveo/headless-react/ssr",
44
"version": "0.0.0",
55
"private": true,
66
"scripts": {

packages/samples/headless-ssr/src/app/layout.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export const metadata = {
22
title: 'Headless SSR examples',
33
description:
4-
'Examples of using framework agnostic @coveo/headless/ssr utils and @coveo/headless-react',
4+
'Examples of using framework agnostic @coveo/headless/ssr utils and @coveo/headless-react/ssr',
55
};
66

77
export default function RootLayout({children}: {children: React.ReactNode}) {

packages/samples/headless-ssr/src/app/react/common/engine.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {defineSearchEngine} from '@coveo/headless-react';
1+
import {defineSearchEngine} from '@coveo/headless-react/ssr';
22
import {InferStaticState, InferHydratedState} from '@coveo/headless/ssr';
33
import {config} from '../../common/search-engine-config';
44

0 commit comments

Comments
 (0)