测试动态加载

This commit is contained in:
hanhh 2021-09-25 12:11:13 +08:00
parent 260c1ed4a4
commit d537901f59
2 changed files with 6 additions and 3 deletions

View File

@ -7,9 +7,9 @@ export default defineConfig({
nodeModulesTransform: { nodeModulesTransform: {
type: 'none', type: 'none',
}, },
// antd: { dynamicImport: {
// dark: true loading: '@/components/pageLoading',
// }, },
fastRefresh: {}, fastRefresh: {},
favicon: '/images/g5.ico', favicon: '/images/g5.ico',
proxy: { proxy: {

View File

@ -0,0 +1,3 @@
import { PageLoading } from '@ant-design/pro-layout';
export default PageLoading;