feat: init commit for setup monorepo

This commit is contained in:
Firman Ramdhani
2026-01-05 17:38:05 +07:00
parent 93d04e660e
commit e6485b066d
34 changed files with 785 additions and 261 deletions
+8 -23
View File
@@ -1,25 +1,10 @@
import { createRoot } from "react-dom/client";
import "./style.css";
import typescriptLogo from "/typescript.svg";
import { Header, Counter } from "@repo/ui";
import './main.css';
import { lazy, StrictMode } from 'react';
import { createRoot } from 'react-dom/client';
const App = lazy(() => import('./apps'));
const App = () => (
<div>
<a href="https://vitejs.dev" target="_blank">
<img src="/vite.svg" className="logo" alt="Vite logo" />
</a>
<a href="https://www.typescriptlang.org/" target="_blank">
<img
src={typescriptLogo}
className="logo vanilla"
alt="TypeScript logo"
/>
</a>
<Header title="Web" />
<div className="card">
<Counter />
</div>
</div>
createRoot(document.getElementById('app')!).render(
<StrictMode>
<App />
</StrictMode>,
);
createRoot(document.getElementById("app")!).render(<App />);