From ad513d1eaea81b4d047bbdcbd2fb99f035516716 Mon Sep 17 00:00:00 2001 From: whyour Date: Mon, 22 Mar 2021 13:30:17 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B2=BE=E7=AE=80umi=20react=E4=BE=9D=E8=B5=96?= =?UTF-8?q?=EF=BC=8C=E7=BC=A9=E5=87=8F=E9=95=9C=E5=83=8F=E8=87=B3760M?= =?UTF-8?q?=E5=B7=A6=E5=8F=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .umirc.ts | 1 - package.json | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.umirc.ts b/.umirc.ts index 956eb57d..7dc12ee2 100644 --- a/.umirc.ts +++ b/.umirc.ts @@ -3,7 +3,6 @@ import { defineConfig } from 'umi'; export default defineConfig({ hash: true, layout: false, - locale: {}, nodeModulesTransform: { type: 'none', }, diff --git a/package.json b/package.json index dfb114b8..70fb8c36 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ }, "dependencies": { "@ant-design/pro-layout": "^6.5.0", - "@umijs/preset-react": "1.x", + "@umijs/plugin-antd": "^0.9.1", "body-parser": "^1.19.0", "celebrate": "^13.0.3", "codemirror": "^5.59.4", @@ -62,8 +62,8 @@ "prettier": "^2.2.0", "react": "17.x", "react-dom": "17.x", + "ts-node": "^9.0.0", "typescript": "^4.1.2", - "yorkie": "^2.0.0", - "ts-node": "^9.0.0" + "yorkie": "^2.0.0" } }