diff --git a/unitool.js b/unitool.js index dd41fd8..dc73729 100644 --- a/unitool.js +++ b/unitool.js @@ -42,6 +42,10 @@ export default { console.debug('%c ' + JSON.stringify({ time: new Date().toJSON(), page: pageName }), 'color:cyan;background:lightgrey', ...args) } }, + cctitle (...args) { + const pageName = this.thisPage().route || 'VueApp' + console.debug('%c ' + JSON.stringify({ time: new Date().toJSON(), page: pageName }), 'color:cyan;background:lightgrey', ...args) + }, localizeText (i18nText) { i18nText = i18nText?.__page__