OG Image
Customizing the dynamic OG Image.
shadcn-docs-nuxt utilizes the nuxt-og-image module to generate dynamic OG Images.
The dynamic OG Image is used in all pages except the index page. The index page uses a static OG Image defined in the ogImage
field instead.
Using Built-in Templates
To use a template, set the name of the OG Image component in the ogImageComponent
.
Out of the box, a shadcn-docs-nuxt template and multiple community templates are available.
Component Name | Preview |
---|---|
ShadcnDocs | |
Nuxt | |
Nuxt SEO |
Using Custom Templates
To use a custom template, create a template by following the guide in the Nuxt SEO Docs. Then set the component name of your template in ogImageComponent
.