diff --git a/src/cool/config/index.ts b/src/cool/config/index.ts index 5ad8a8b..71f5531 100644 --- a/src/cool/config/index.ts +++ b/src/cool/config/index.ts @@ -23,7 +23,7 @@ export const config = { // 模式 mode: "history", // 首页组件 - home: import("/$/demo/views/home/index.vue") + home: () => import("/$/demo/views/home/index.vue") }, // 字体图标库