CMS config

The alinea package exports a general purpose createCMS function as well as framework specific functions such as createNextCMS. The framework specific instances expose helper methods to help integrate the content into your framework of choice.

If you prefer plain Javascript over Typescript, just rename the file to cms.jsx

cms.tsx
export const cms = createNextCMS({
  schema, workspaces, dashboard
})

Configuration

schema
A collection of Types.

workspaces
Content can be bundled in separate Workspaces. Defining at least one is required.

dashboard
All configuration to generate the dashboard UI for deployment goes here.

preview
A url which is used in the dashboard for live previews.