Build new shell layout with left sidebar (el-3po)

This commit is contained in:
2026-05-12 11:08:33 +02:00
parent a748512d22
commit 43e132971b
16 changed files with 6487 additions and 360 deletions
+9 -2
View File
@@ -1,5 +1,7 @@
import { defineConfig, loadEnv } from "vite";
import path from "path";
import { defineConfig, loadEnv, type Plugin } from "vite";
import react from "@vitejs/plugin-react";
import tailwindcss from "@tailwindcss/vite";
export default defineConfig(({ mode }) => {
const env = loadEnv(mode, process.cwd(), "");
@@ -20,7 +22,7 @@ export default defineConfig(({ mode }) => {
__APP_VERSION__: JSON.stringify(appVersion),
__APP_BUILD_INFO__: JSON.stringify(appBuildInfo),
},
plugins: [react()],
plugins: [react(), ...(tailwindcss() as Plugin[])],
server: {
proxy: {
"/api": {
@@ -30,5 +32,10 @@ export default defineConfig(({ mode }) => {
},
},
},
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
},
},
};
});