@nuxt/vue-app
Advanced tools
Comparing version 2.13.1 to 2.13.2
/*! | ||
* @nuxt/vue-app v2.13.1 (c) 2016-2020 | ||
* @nuxt/vue-app v2.13.2 (c) 2016-2020 | ||
@@ -4,0 +4,0 @@ * - All the amazing contributors |
{ | ||
"name": "@nuxt/vue-app", | ||
"version": "2.13.1", | ||
"version": "2.13.2", | ||
"repository": "nuxt/nuxt.js", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -44,14 +44,2 @@ import Vue from 'vue' | ||
<% if (features.layouts) { %> | ||
<% if (components.ErrorPage) { %> | ||
if (this.nuxt.err && NuxtError) { | ||
const errorLayout = (NuxtError.options || NuxtError).layout | ||
if (errorLayout) { | ||
this.setLayout( | ||
typeof errorLayout === 'function' | ||
? errorLayout.call(NuxtError, this.context) | ||
: errorLayout | ||
) | ||
} | ||
} | ||
<% } %> | ||
const layoutEl = h(this.layout || 'nuxt') | ||
@@ -62,4 +50,3 @@ const templateEl = h('div', { | ||
}, | ||
key: this.layoutName | ||
key: this.layoutName | ||
}, [layoutEl]) | ||
@@ -313,3 +300,3 @@ <% } else { %> | ||
} | ||
route = (route.replace(/\/+$/, '') || '/').split('?')[0] | ||
route = (route.replace(/\/+$/, '') || '/').split('?')[0].split('#')[0] | ||
const src = urlJoin(base, staticAssetsBase, route, 'payload.js') | ||
@@ -316,0 +303,0 @@ try { |
155032
3273