+
{
diff --git a/site/pages/examples/[example].tsx b/site/pages/examples/[example].tsx
index cc7c988223..a626e8208d 100644
--- a/site/pages/examples/[example].tsx
+++ b/site/pages/examples/[example].tsx
@@ -53,6 +53,7 @@ const EXAMPLE_IMPORTERS: Record<
'shadow-dom': () => import('../../examples/ts/shadow-dom'),
styling: () => import('../../examples/ts/styling'),
tables: () => import('../../examples/ts/tables'),
+ 'yjs-collaboration': () => import('../../examples/ts/yjs-collaboration'),
}
const EXAMPLES: ExampleTuple[] = EXAMPLE_NAMES_AND_PATHS.map(([name, path]) => [
diff --git a/site/tsconfig.json b/site/tsconfig.json
index 9655aba18f..272138e76d 100644
--- a/site/tsconfig.json
+++ b/site/tsconfig.json
@@ -22,6 +22,10 @@
"slate-dom/internal": ["../packages/slate-dom/src/internal/index.ts"],
"slate-history": ["../packages/slate-history/src/index.ts"],
"slate-hyperscript": ["../packages/slate-hyperscript/src/index.ts"],
+ "slate-yjs": ["../packages/slate-yjs/src/index.ts"],
+ "slate-yjs/core": ["../packages/slate-yjs/src/core/index.ts"],
+ "slate-yjs/internal": ["../packages/slate-yjs/src/internal/index.ts"],
+ "slate-yjs/react": ["../packages/slate-yjs/src/react/index.tsx"],
"slate/internal": ["../packages/slate/src/internal/index.ts"],
"slate-react": ["../packages/slate-react/src/index.ts"]
},