测试动态加载

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

View File

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

View File

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