Skip to content

Contentrain/contentrain-starter-next-multi-surface-saas

Repository files navigation

Source of truth: this starter is exported from the contentrain-starters monorepo. Internal starter id: next-multi-surface-saas.

Contentrain Next Multi-Surface SaaS

Next.js starter for teams that need one content architecture across marketing, app shell, docs, and changelog surfaces.

Contentrain Next Multi-Surface SaaS cover

Contentrain Next Multi-Surface SaaS preview

Start

pnpm install
pnpm dev

Commands

pnpm check
pnpm build
pnpm start
pnpm deploy:netlify

Demo routes

  • /
  • /app
  • /docs
  • /guides/surface-governance
  • /reference/content-contracts
  • /packages/query-client
  • /changelog/unified-surface-rollout
  • /architecture

Why this starter exists

  • Product marketing, dashboard UI, docs, and release notes should not drift apart
  • .contentrain/ stays local, typed, and reviewable in git
  • The generated #contentrain SDK keeps framework code simple while preserving a real content schema
  • This starter shows Contentrain as product-surface infrastructure, not only as a website CMS

Official references:

Deploy

  • Netlify build command: pnpm deploy:netlify
  • Netlify publish directory: framework-managed
  • Keep the publish directory empty in the Netlify UI and let the Next.js runtime be detected automatically

Netlify Project Creation

Deploy to Netlify

Use pnpm dlx netlify-cli init to connect the repository for continuous deployment, or pnpm dlx netlify-cli link if the site already exists.

About

Next.js starter that keeps marketing, app shell, docs, and changelog surfaces on one Contentrain content architecture.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors