diff --git a/platform/nativescript/framework.js b/platform/nativescript/framework.js index 7f1b03c4..8e6aa8da 100644 --- a/platform/nativescript/framework.js +++ b/platform/nativescript/framework.js @@ -6,6 +6,7 @@ import NavigatorPlugin from './plugins/navigator-plugin' import { setVue } from './util' Vue.config.silent = true +Vue.config.suppressRenderLogs = false setVue(Vue) diff --git a/platform/nativescript/util/index.js b/platform/nativescript/util/index.js index b9eb1289..08c1d7d4 100644 --- a/platform/nativescript/util/index.js +++ b/platform/nativescript/util/index.js @@ -74,9 +74,11 @@ export function trace(message) { return infoTrace() } - console.log( - `{NSVue (Vue: ${VUE_VERSION} | NSVue: ${NS_VUE_VERSION})} -> ${message}` - ) + if (!_Vue.config.suppressRenderLogs) { + console.log( + `{NSVue (Vue: ${VUE_VERSION} | NSVue: ${NS_VUE_VERSION})} -> ${message}` + ) + } } export function before(original, thisArg, wrap) {