Trang này chưa có bản dịch Tiếng Việt. Bạn đang xem bản gốc (English).

OG Image

Nuxt Starter Kit 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 Nuxt Starter Kit template and multiple community templates are available.

ShadcnDocs
ShadcnDocs (Dark)
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.