@nuxt/app-edge
Advanced tools
Comparing version 2.3.0-25667110.ec55975 to 2.3.0-25667751.f5530ad
@@ -11,2 +11,3 @@ # Change Log | ||
* **app:** throw an error when layout property is not string ([#4142](https://github.com/nuxt/nuxt.js/issues/4142)) ([f5530ad](https://github.com/nuxt/nuxt.js/commit/f5530ad)) | ||
* **publish:** set each package's publishConfig to public ([28b246d](https://github.com/nuxt/nuxt.js/commit/28b246d)), closes [lerna/lerna#178](https://github.com/lerna/lerna/issues/178) | ||
@@ -13,0 +14,0 @@ |
/*! | ||
* @nuxt/app-edge v2.3.0-25667110.ec55975 (c) 2016-2018 | ||
* @nuxt/app-edge v2.3.0-25667751.f5530ad (c) 2016-2018 | ||
@@ -17,3 +17,3 @@ * - All the amazing contributors | ||
var name = "@nuxt/app-edge"; | ||
var version = "2.3.0-25667110.ec55975"; | ||
var version = "2.3.0-25667751.f5530ad"; | ||
var repository = "nuxt/nuxt.js"; | ||
@@ -20,0 +20,0 @@ var license = "MIT"; |
{ | ||
"name": "@nuxt/app-edge", | ||
"version": "2.3.0-25667110.ec55975", | ||
"version": "2.3.0-25667751.f5530ad", | ||
"repository": "nuxt/nuxt.js", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -86,2 +86,5 @@ import Vue from 'vue' | ||
setLayout (layout) { | ||
<% if (debug) { %> | ||
if(layout && typeof layout !== 'string') throw new Error('[nuxt] Avoid using non-string value as layout property.') | ||
<% } %> | ||
if (!layout || !resolvedLayouts['_' + layout]) layout = 'default' | ||
@@ -114,2 +117,5 @@ this.layoutName = layout | ||
setLayout(layout) { | ||
<% if (debug) { %> | ||
if(layout && typeof layout !== 'string') throw new Error('[nuxt] Avoid using non-string value as layout property.') | ||
<% } %> | ||
if (!layout || !layouts['_' + layout]) { | ||
@@ -116,0 +122,0 @@ layout = 'default' |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
106020
2018