Files
Montech_Landing/apps/adm/vite.config.ts
T
MahdiandCursor b0088c35d1 Replace the landing with the artifact design and rebuild the admin in Ant Design.
Adds consultation leads, section editors, and the one-time content reset for this release.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-01 20:36:06 +03:30

33 lines
817 B
TypeScript

import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
import Components from "unplugin-vue-components/vite";
import { AntDesignVueResolver } from "unplugin-vue-components/resolvers";
import path from "path";
export default defineConfig({
plugins: [
vue(),
Components({
dts: "src/components.d.ts",
dirs: [],
resolvers: [AntDesignVueResolver({ importStyle: false, resolveIcons: true })],
}),
],
base: "/adm/",
resolve: {
alias: {
"@": path.resolve(__dirname, "src"),
"@montech/shared": path.resolve(__dirname, "../../packages/shared/src/index.ts"),
},
},
server: {
port: 5174,
proxy: {
"/api": {
target: process.env.MONTECH_DEV_API || "http://127.0.0.1:3050",
changeOrigin: true,
},
},
},
});