diff --git a/project.private.config.json b/project.private.config.json index 503b9df..241bfe7 100644 --- a/project.private.config.json +++ b/project.private.config.json @@ -1,7 +1,8 @@ { "projectname": "EShop", "setting": { - "compileHotReLoad": true + "compileHotReLoad": true, + "bigPackageSizeSupport": true }, "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html", "condition": { diff --git a/src/pages/index/index.cofig.ts b/src/pages/index/index.config.ts similarity index 100% rename from src/pages/index/index.cofig.ts rename to src/pages/index/index.config.ts diff --git a/src/pages/index/index.tsx b/src/pages/index/index.tsx new file mode 100644 index 0000000..355eded --- /dev/null +++ b/src/pages/index/index.tsx @@ -0,0 +1,7 @@ +export default () => { + return ( + <> + 222 + + ) +} diff --git a/src/pages/order/index.cofig.ts b/src/pages/order/index.config.ts similarity index 100% rename from src/pages/order/index.cofig.ts rename to src/pages/order/index.config.ts diff --git a/src/pages/index/index.ts b/src/pages/order/index.tsx similarity index 100% rename from src/pages/index/index.ts rename to src/pages/order/index.tsx diff --git a/src/pages/user/index.ts b/src/pages/user/index.ts deleted file mode 100644 index e69de29..0000000 diff --git a/src/pages/order/index.ts b/src/pages/user/index.tsx similarity index 100% rename from src/pages/order/index.ts rename to src/pages/user/index.tsx