Plugin options

keyName

  • type string
  • default metaInfoThe name of the component option that contains all the information that gets converted to the various meta tags & attributes for the page

attribute

  • type string
  • default data-vue-metaThe name of the attribute vue-meta arguments on elements to know which it should manage and which it should ignore.

ssrAttribute

  • type string
  • default data-vue-meta-server-renderedThe name of the attribute that is added to the html tag to inform vue-meta that the server has already generated the meta tags for the initial render

See How to prevent update on page load

ssrAppId

  • type string
  • default ssrThe app id for a server side rendered app. You shouldnt have to change this normally

tagIDKeyName

  • type string
  • default vmidThe property that tells vue-meta to overwrite (instead of append) an item in a tag list.For example, if you have two meta tag list items that both have vmid of 'description',then vue-meta will overwrite the shallowest one with the deepest one.

contentKeyName

  • type string
  • default contentThe key name for the content-holding property

metaTemplateKeyName

  • type string
  • default templateThe key name for possible meta templates

refreshOnceOnNavigation

  • type boolean
  • default falseWhen true then vue-meta will pause updates once page navigation starts and resumes updates when navigation finishes (resuming also triggers an update).This could both be a performance improvement as a possible fix for 'flickering' when you are e.g. replacing stylesheets