integrate sigproui
This commit is contained in:
15
UI/main.js
Normal file
15
UI/main.js
Normal file
@@ -0,0 +1,15 @@
|
||||
import App from "./App.js";
|
||||
import "./app.css";
|
||||
import "./daisyui.css";
|
||||
const root = document.getElementById("app");
|
||||
root.appendChild(App());
|
||||
|
||||
if (import.meta.hot) {
|
||||
import.meta.hot.accept("./App.js", (newModule) => {
|
||||
if (newModule) {
|
||||
root.innerHTML = "";
|
||||
root.appendChild(newModule.default());
|
||||
console.log("🚀 SigPro: App re-renderizada");
|
||||
}
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user