@nuxt/vue-app
Advanced tools
Comparing version 2.10.0 to 2.10.1
/*! | ||
* @nuxt/vue-app v2.10.0 (c) 2016-2019 | ||
* @nuxt/vue-app v2.10.1 (c) 2016-2019 | ||
@@ -21,3 +21,3 @@ * - All the amazing contributors | ||
"vue-client-only": "^2.0.0", | ||
"vue-meta": "^2.2.2", | ||
"vue-meta": "^2.3.1", | ||
"vue-no-ssr": "^1.1.1", | ||
@@ -24,0 +24,0 @@ "vue-router": "~3.0.7", |
{ | ||
"name": "@nuxt/vue-app", | ||
"version": "2.10.0", | ||
"version": "2.10.1", | ||
"repository": "nuxt/nuxt.js", | ||
@@ -19,3 +19,3 @@ "license": "MIT", | ||
"vue-client-only": "^2.0.0", | ||
"vue-meta": "^2.2.2", | ||
"vue-meta": "^2.3.1", | ||
"vue-no-ssr": "^1.1.1", | ||
@@ -22,0 +22,0 @@ "vue-router": "~3.0.7", |
@@ -21,8 +21,3 @@ import Vue from 'vue' | ||
import NuxtLink from './components/nuxt-link.<%= features.clientPrefetch ? "client" : "server" %>.js' // should be included after ./index.js | ||
<% if (isDev) { %>import consola from 'consola'<% } %> | ||
<% if (isDev) { %>consola.wrapConsole() | ||
console.log = console.__log | ||
<% } %> | ||
// Component: <NuxtLink> | ||
@@ -47,7 +42,8 @@ Vue.component(NuxtLink.name, NuxtLink) | ||
const logs = NUXT.logs || [] | ||
if (logs.length > 0) { | ||
console.group<%= nuxtOptions.render.ssrLog === 'collapsed' ? 'Collapsed' : '' %>("%c🚀 Nuxt SSR Logs", 'font-size: 110%') | ||
logs.forEach(logObj => consola[logObj.type](logObj)) | ||
if (logs.length > 0) { | ||
const ssrLogSyle = 'background: #2E495E;border-radius: 0.5em;color: white;font-weight: bold;padding: 2px 0.5em;' | ||
console.group && console.group <%= nuxtOptions.render.ssrLog === 'collapsed' ? 'Collapsed' : '' %> ("%cNuxt SSR", ssrLogSyle) | ||
logs.forEach(logObj => (console[logObj.type] || console.log)(...logObj.args)) | ||
delete NUXT.logs | ||
console.groupEnd() | ||
console.groupEnd && console.groupEnd() | ||
} | ||
@@ -54,0 +50,0 @@ <% } %> |
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
138439
2816
Updatedvue-meta@^2.3.1