src/index.tsx hinzugefügt
This commit is contained in:
@@ -0,0 +1,11 @@
|
|||||||
|
import React from "react";
|
||||||
|
import ReactDOM from "react-dom/client";
|
||||||
|
import LogsPage from "./LogsPage";
|
||||||
|
|
||||||
|
// Headlamp plugin entry
|
||||||
|
export default function init() {
|
||||||
|
const root = document.createElement("div");
|
||||||
|
document.body.appendChild(root);
|
||||||
|
|
||||||
|
ReactDOM.createRoot(root).render(<LogsPage />);
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user