Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic add of @ for twitter site on useSeoMeta #309

Closed
1 task done
Barbapapazes opened this issue Jan 23, 2024 · 2 comments
Closed
1 task done

Automatic add of @ for twitter site on useSeoMeta #309

Barbapapazes opened this issue Jan 23, 2024 · 2 comments

Comments

@Barbapapazes
Copy link
Member

Barbapapazes commented Jan 23, 2024

Describe the feature

Environment
Operating System: Linux
Node Version: v20.11.0
Nuxt Version: 3.9.3
CLI Version: 3.10.0
Nitro Version: 2.8.1
Package Manager: [email protected]
Builder: -
User Config: -
Runtime Modules: -
Build Modules: -
Reproduction
/

Describe the bug
Hello,

Could be a great addition to automatically add @ to the beginning of the twitter site. Otherwise, a type could alert dev that he should add one.

For reference: developer.twitter.com/en/docs/twitter-for-websites/cards/guides/getting-started

Additional context
No response

Logs
No response

Additional information

  • Would you be willing to help implement this feature?

nuxt/nuxt#25382

@harlan-zw
Copy link
Collaborator

I think it's a good idea :)

In terms of implementation though, I think adding an Unhead plugin for this is a bit much.

If we wanted to solve this in Nuxt a good place to handle it would be in https://github.com/harlan-zw/nuxt-seo-experiments, having it as a standalone plugin then would be fine.

Otherwise, I was already considering working on a development Unhead plugin that would provide warnings when using tags incorrectly, this could be one of the rules.

@harlan-zw
Copy link
Collaborator

Closing in favour of #394

@harlan-zw harlan-zw closed this as not planned Won't fix, can't repro, duplicate, stale Sep 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants