mirror of
https://github.com/tenrok/vue-meta.git
synced 2026-06-09 06:52:24 +03:00
Merge branch 'master' of github.com:declandewet/vue-meta
This commit is contained in:
@@ -461,10 +461,10 @@ Since v1.5.0, you can now set up meta templates that work similar to the titleTe
|
||||
meta: [
|
||||
{ charset: 'utf-8' },
|
||||
{
|
||||
'vmid': 'og:title',
|
||||
'property': 'og:title',
|
||||
'content': 'Test title',
|
||||
'template': chunk => `${chunk} - My page` //or as string template: '%s - My page'
|
||||
'template': chunk => `${chunk} - My page`, //or as string template: '%s - My page',
|
||||
'vmid': 'og:title'
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
+1
-1
@@ -57,7 +57,7 @@
|
||||
"mocha": "^5.0.0",
|
||||
"phantomjs-prebuilt": "^2.1.15",
|
||||
"rimraf": "^2.6.1",
|
||||
"rollup": "^0.47.4",
|
||||
"rollup": "^0.60.1",
|
||||
"rollup-plugin-buble": "^0.18.0",
|
||||
"rollup-plugin-commonjs": "^8.1.0",
|
||||
"rollup-plugin-json": "^2.3.0",
|
||||
|
||||
Vendored
+1
-1
@@ -13,6 +13,6 @@ declare module "vue/types/options" {
|
||||
|
||||
declare module "vue/types/vue" {
|
||||
interface Vue {
|
||||
metaInfo?: MetaInfo | (() => MetaInfo)
|
||||
metaInfo(): MetaInfo
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user