Skip to content

Can not override twitter:card using useServerSeoMeta #555

@sa8ab

Description

@sa8ab

Environment

Node js: 22.14.0
@nuxtjs/seo": ^3.0.3
nuxt: ^3.17.4

Reproduction

Describe the bug

I am using @nuxt/seo module, it has SEO utils enabled on it. by default. On SEO utils, it is using InferSeoMetaPlugin plugin.
Although it is configurable from options to override the twitterCard ( not from nuxt seo utils but it is not related to this issue here ), however if I want to change it in a specific page for example using useServerSeoMeta:

useServerSeoMeta({ twitterCard: "summary" })

In inspect of the browser the generated tag is still summary_large_image the default one.
<meta name="twitter:card" content="summary_large_image">

Additional context

It could be resolved if the nuxt seo utils had the ability to only disable the twitterCard however it has option to disable whole infer plugin.

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions