From 63394d79e98f9c3ac6048814a259140350444779 Mon Sep 17 00:00:00 2001 From: chenshuai2144 Date: Fri, 10 Jul 2020 13:31:37 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20format:=20add=20loading?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .umirc.js | 4 +++- package.json | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.umirc.js b/.umirc.js index b7a8b4fa..7369bcd0 100644 --- a/.umirc.js +++ b/.umirc.js @@ -19,6 +19,8 @@ export default { path: 'https://github.com/ant-design/ant-design-pro-layout', }, ], - dynamicImport: {}, + dynamicImport: { + loading: '@ant-design/pro-skeleton', + }, hash: true, }; diff --git a/package.json b/package.json index 3bbe8905..b6314745 100644 --- a/package.json +++ b/package.json @@ -93,6 +93,7 @@ "devDependencies": { "@ant-design/compatible": "^1.0.1", "@ant-design/dark-theme": "^2.0.2", + "@ant-design/pro-skeleton": "^1.0.0-beta.2", "@babel/core": "^7.8.3", "@babel/plugin-proposal-object-rest-spread": "^7.8.3", "@babel/preset-env": "^7.8.3",