Adds consultation leads, section editors, and the one-time content reset for this release. Co-authored-by: Cursor <cursoragent@cursor.com>
33 lines
817 B
TypeScript
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,
|
|
},
|
|
},
|
|
},
|
|
});
|