Skip to content

Shortcuts for useHead #13555

@atinux

Description

@atinux

Following a part of https://github.com/nuxt/framework/discussions/1823

Some ideas of something more elegant for meta tags IMO:

  • useLang(lang)
  • useTitle(title, template)
  • useMetaDescription(description, options?) -> we could define options for og:, twitter:, etc
  • useMetaImage(url, options?) -> we could define options for og:, twitter:, etc
  • useMetaCharset(charset)
  • useMetaAuthor(author)

Open to any suggestions 😊

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions