import { defineConfig } from "@umijs/max"; import routes from "./routes"; export default defineConfig({ npmClient: "pnpm", //指定npm的客户端 routes, antd: {}, //启用antd tailwindcss: {}, request: {}, layout: { title: 'UMI', locale: false }, model: {}, initialState: {}, proxy: { // 代理配置 }, access: {} });