diff --git a/README.md b/README.md index 8c55ce5..cfb3dfb 100644 --- a/README.md +++ b/README.md @@ -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' } ] } diff --git a/package.json b/package.json index 3f39a59..1c0c5ed 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/types/vue.d.ts b/types/vue.d.ts index fb449e7..7c5eaaa 100644 --- a/types/vue.d.ts +++ b/types/vue.d.ts @@ -13,6 +13,6 @@ declare module "vue/types/options" { declare module "vue/types/vue" { interface Vue { - metaInfo?: MetaInfo | (() => MetaInfo) + metaInfo(): MetaInfo } }