Interactive documentation and demo site for slate-serializers: serializers that convert Slate JSON to and from HTML, DOM, React, and template-style output.
Live site: thompsonsj.github.io/slate-serializers-demo
The library source lives in a separate repository; this app consumes the published @slate-serializers/* packages from npm.
npm install
npm run devOpen http://localhost:3000.
| Command | Description |
|---|---|
npm run dev |
Next.js dev server |
npm run build |
Production build |
npm run lint |
ESLint |
npm run type-check |
TypeScript (tsc --noEmit) |
npm run test |
Vitest |
app/— Next.js App Router pages: overview, per-serializer Docs and Demo routes, Payload-specific docs.app/components/— Shared UI (sidebar, editors, demos).
- Library (monorepo): github.com/thompsonsj/slate-serializers
- npm meta package: slate-serializers