Nexus CMS

Manual setup

Numbered checklist to wire Nexus CMS into a Next.js App Router project.

Manual setup

No architecture essay — run these in order.

1. npm i nexus-cms
   # or: npm i @nexus-cms/nextjs @nexus-cms/cli
2. npx nexus init
3. Wrap next.config with withNexus from nexus-cms/config
   # or: @nexus-cms/nextjs/config
4. npx nexus generate
5. Import Providers from app/providers (created by init) in layout.tsx
6. Wrap layout {children} with <Providers>
7. Local dogfood: init uses createMemoryAdapter — open /?edit=1
8. Production: switch backend.adapter + createHttpAdapter (or Laravel)
9. npx nexus doctor && npx nexus check --ci

Choices

ChoiceWhen
Dedicated providers.tsxAlways (client boundary for overlay)
Memory adapterLocal / alpha UI pass
HTTP / Laravel adapterReal content + publish
Exclude header/footer in nexus.configDual-state sticky chrome until @cms-nav / auto header is enough
@cms-ignore on particles / SVG ornamentsAlways
Lift copy out of ignored treesOnly if ignore traps marketing strings (nexus doctor warns)
Pro license key (NEXT_PUBLIC_NEXUS_LICENSE_KEY)Versions, locales, collection add/remove

Verify

  1. npx nexus generate writes .nexus/cms-schema.json
  2. Dev server starts without transform errors
  3. /?edit=1 shows hit targets on marketing copy
  4. Sticky header still looks like the live viewport (not twin logos)
  5. Excluded footer does not paint dead hits

On this page