• Generate object for useSeoMeta composable

    Parameters

    • title: string

      Title of the page

    • description: string

      description of the page

    • imagePath: string

      path to image for SNS card, root is at public/

    • Optionaltype: "website" | "article"

      Type of website, either website or article, defaults to website if not passed

    Returns UseSeoMetaInput

    object that can be passed to useSeoMeta composable

    useSeoMeta(
    generateSeoMeta(
    "Home",
    "Home page for my website",
    "/default_card_image.png"
    )
    );
    useSeoMeta(generateSeoMeta(data.articleName, data.articleDescription, data.articleCoverImage, "article"));