Skip to content

overrides

overrides is an object that is used to override the default configuration of the studioCMS.

Usage

astro.config.mjs
studioCMS({
overrides: {
CustomImageOverride: "./src/components/MyCustomImage.astro",
FormattedDateOverride: "./src/components/MyCustomFormattedDate.astro",
},
}),

CustomImageOverride

  • Type: string | undefined
  • Default: undefined

The path to a custom image component that will be used to render images in the studioCMS.

FormattedDateOverride

  • Type: string | undefined
  • Default: undefined

The path to a custom formatted date component that will be used to render dates in the studioCMS.