Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace httpvueloader with vue3-sfc-loader #109

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
Enabled vue3-sfc-loader logging
HeriLFIU committed Dec 17, 2024
commit e318df3d87d7ec123e994f8661d32b8143b6aaa6
6 changes: 6 additions & 0 deletions src/components/kytos/napp/NappsInfoPanel.vue
Original file line number Diff line number Diff line change
@@ -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);
}

}
6 changes: 6 additions & 0 deletions src/components/kytos/napp/Toolbar.vue
Original file line number Diff line number Diff line change
@@ -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);
}

}