Skip to content

Commit

Permalink
Enabled vue3-sfc-loader logging
Browse files Browse the repository at this point in the history
  • Loading branch information
HeriLFIU committed Dec 2, 2024
1 parent 4e8aab3 commit e03b62d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/components/kytos/napp/NappsInfoPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ const options = {
const style = Object.assign(document.createElement('style'), { textContent });
const ref = document.head.getElementsByTagName('style')[0] || null;
document.head.insertBefore(style, ref);
},
log(type, ...args) {
console.log("vue3-sfc-loader log:");
console[type](...args);
}
}
Expand Down
6 changes: 6 additions & 0 deletions src/components/kytos/napp/Toolbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@
const style = Object.assign(document.createElement('style'), { textContent });
const ref = document.head.getElementsByTagName('style')[0] || null;
document.head.insertBefore(style, ref);
},
log(type, ...args) {
console.log("vue3-sfc-loader log:");
console[type](...args);
}
}
Expand Down

0 comments on commit e03b62d

Please sign in to comment.