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

@@ -1,6 +1,22 @@
import { fileURLToPath, URL } from "node:url"
import react from "@vitejs/plugin-react"
import { defineConfig } from "vite"
const srcPath = (path: string) => fileURLToPath(new URL(`./src/${path}`, import.meta.url))
export default defineConfig({
plugins: [react()],
resolve: {
alias: {
app: srcPath("app"),
layouts: srcPath("layouts"),
screens: srcPath("screens"),
widgets: srcPath("widgets"),
business: srcPath("business"),
infra: srcPath("infra"),
ui: srcPath("ui"),
shared: srcPath("shared"),
},
},
})