nuxt-seo
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -17,3 +17,3 @@ const Vue = require('vue') | ||
ctx.app.head.meta = nuxtSeo.createMeta(options, ctx.app.head.meta, template) | ||
if (Vue.prototype.$meta) { | ||
if (Vue.prototype && Vue.prototype.$meta) { | ||
if (Vue.prototype.$nuxt && Vue.prototype.$nuxt.$options && Vue.prototype.$nuxt.$options.head) { | ||
@@ -20,0 +20,0 @@ Vue.prototype.$nuxt.$options.head = ctx.app.head |
@@ -5,3 +5,3 @@ { | ||
"preferGlobal": false, | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "SEO / HTML Meta Tags Module for Nuxt.js", | ||
@@ -58,5 +58,5 @@ "author": { | ||
"devDependencies": { | ||
"ava": "^2.0.0", | ||
"ava": "^2.3.0", | ||
"got": "^9.6.0", | ||
"nuxt": "^2.8.0", | ||
"nuxt": "^2.9.2", | ||
"vue": "^2.6.10", | ||
@@ -63,0 +63,0 @@ "xo": "^0.24.0" |
17427