From f7adc6b685079735eb11e7c4bae3e1d0a002523f Mon Sep 17 00:00:00 2001 From: Hieu Nguyen Date: Wed, 23 May 2018 15:23:14 +0700 Subject: [PATCH 1/4] Fix Readme about open graph --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8c55ce5..42ec2a5 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' } ] } From 4addca07ef9de8c317a141884b3240c947bd02aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=95=E3=81=8F=E3=82=89?= Date: Thu, 7 Jun 2018 10:32:41 +0800 Subject: [PATCH 2/4] fix(types): `metaInfo` should always be a member function In `vue-class-component`, if the defined function is not a member function, it is treated as a data property. Even if you register a custom hook via `Component.registerHooks`, it will not work. --- types/vue.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } } From 8eea169d0a096f7e892fd2dd4fd6cca27953bed4 Mon Sep 17 00:00:00 2001 From: "greenkeeper[bot]" Date: Thu, 7 Jun 2018 06:31:00 +0000 Subject: [PATCH 3/4] chore(package): update rollup to version 0.60.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", From 6493d02d07944c57b3c86222c6a62c5b84120c0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Chopin?= Date: Thu, 5 Jul 2018 18:01:25 +0200 Subject: [PATCH 4/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 42ec2a5..cfb3dfb 100644 --- a/README.md +++ b/README.md @@ -463,7 +463,7 @@ Since v1.5.0, you can now set up meta templates that work similar to the titleTe { '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' } ]