chore: добавить SLM-каркас admin

- добавлен app entrypoint, main layout и dashboard screen\n- настроены алиасы SLM-слоёв и PostCSS для CSS Modules\n- перенесены глобальные стили в shared/styles
This commit is contained in:
2026-05-05 14:28:17 +03:00
parent 2c88cc3eca
commit 72f9386f57
29 changed files with 575 additions and 163 deletions

View File

@@ -0,0 +1,10 @@
import { MainLayout } from "layouts/main"
import { DashboardScreen } from "screens/dashboard"
export function App() {
return (
<MainLayout>
<DashboardScreen />
</MainLayout>
)
}

View File

@@ -0,0 +1,18 @@
import "shared/styles/global.css"
import { StrictMode } from "react"
import { createRoot } from "react-dom/client"
import { App } from "./app"
const root = document.getElementById("root")
if (!root) {
throw new Error("Root element #root not found")
}
createRoot(root).render(
<StrictMode>
<App />
</StrictMode>,
)