mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-08-26 19:12:50 +00:00
14 lines
546 B
TypeScript
14 lines
546 B
TypeScript
import { StrictMode } from "react";
|
|
import { createRoot } from "react-dom/client";
|
|
// Consume the reusable module via its public barrel (@/ → ../user-management/src).
|
|
import { UserManagementApp } from "@/index";
|
|
// Your project's config lives HERE in the host folder (resolved via @app-config).
|
|
// The module never imports it; the host passes it in.
|
|
import { projectTheme } from "@app-config/project.theme";
|
|
|
|
createRoot(document.getElementById("root")!).render(
|
|
<StrictMode>
|
|
<UserManagementApp config={projectTheme} />
|
|
</StrictMode>
|
|
);
|