diff --git a/distributions/nuxt-start/package.json b/distributions/nuxt-start/package.json index 7d87f74d6e..94830e0945 100644 --- a/distributions/nuxt-start/package.json +++ b/distributions/nuxt-start/package.json @@ -59,7 +59,7 @@ "@nuxt/core": "2.8.1", "node-fetch": "^2.6.0", "vue": "^2.6.10", - "vue-meta": "^1.6.0", + "vue-meta": "^2.0.4", "vue-no-ssr": "^1.1.1", "vue-router": "^3.0.6", "vuex": "^3.1.1" diff --git a/packages/vue-app/package.json b/packages/vue-app/package.json index e0fc4ec17c..74380bffc3 100644 --- a/packages/vue-app/package.json +++ b/packages/vue-app/package.json @@ -15,7 +15,7 @@ "node-fetch": "^2.6.0", "unfetch": "^4.1.0", "vue": "^2.6.10", - "vue-meta": "^1.6.0", + "vue-meta": "^2.0.4", "vue-no-ssr": "^1.1.1", "vue-router": "^3.0.6", "vue-template-compiler": "^2.6.10", diff --git a/packages/vue-renderer/package.json b/packages/vue-renderer/package.json index 0811f5577b..6aac99da71 100644 --- a/packages/vue-renderer/package.json +++ b/packages/vue-renderer/package.json @@ -14,7 +14,7 @@ "fs-extra": "^8.0.1", "lru-cache": "^5.1.1", "vue": "^2.6.10", - "vue-meta": "^1.6.0", + "vue-meta": "^2.0.4", "vue-server-renderer": "^2.6.10" }, "publishConfig": { diff --git a/test/unit/basic.ssr.test.js b/test/unit/basic.ssr.test.js index c98cba07f6..71746be9b4 100644 --- a/test/unit/basic.ssr.test.js +++ b/test/unit/basic.ssr.test.js @@ -84,9 +84,7 @@ describe('basic ssr', () => { const html = window.document.body.innerHTML expect(html).toContain('

I can haz meta tags

') - expect( - html.includes('