浏览 195
分享
Plugin options
keyName
- type
string
- default
metaInfo
The 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-meta
The 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-rendered
The name of the attribute that is added to thehtml
tag to informvue-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
ssr
The app id for a server side rendered app. You shouldnt have to change this normally
tagIDKeyName
- type
string
- default
vmid
The property that tellsvue-meta
to overwrite (instead of append) an item in a tag list.For example, if you have twometa
tag list items that both havevmid
of 'description',then vue-meta will overwrite the shallowest one with the deepest one.
contentKeyName
- type
string
- default
content
The key name for the content-holding property
metaTemplateKeyName
- type
string
- default
template
The key name for possible meta templates
refreshOnceOnNavigation
- type
boolean
- default
false
Whentrue
thenvue-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
评论列表