Skip to content

v0.3.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@zspecza zspecza released this 10 Nov 18:27
· 761 commits to master since this release

This version adds support for custom options:

Vue.use(Meta, {
  keyName: 'metaInfo', // the component option name that vue-meta looks for meta info on.
  attribute: 'data-vue-meta', // the attribute name vue-meta adds to the tags it observes
  ssrAttribute: 'data-vue-meta-server-rendered', // the attribute name that lets vue-meta know that meta info has already been server-rendered
  tagIDKeyName: 'vmid' // the property name that vue-meta uses to determine whether to overwrite or append a tag
})