Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 1.4 KB

File metadata and controls

36 lines (24 loc) · 1.4 KB

slate-serializers-demo

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.

Local development

npm install
npm run dev

Open http://localhost:3000.

Scripts

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

Repository layout

  • app/ — Next.js App Router pages: overview, per-serializer Docs and Demo routes, Payload-specific docs.
  • app/components/ — Shared UI (sidebar, editors, demos).

Related