feat: 分包 除了list

This commit is contained in:
2025-09-12 15:30:49 +08:00
parent bd628f2b5c
commit 859ffec852
26 changed files with 33 additions and 20 deletions

View File

@@ -1,14 +1,9 @@
export default defineAppConfig({
pages: [
"pages/home/index", //中转页
"pages/login/index/index",
"pages/login/verification/index",
"pages/login/terms/index",
"pages/list/index", // 列表页
"pages/search/index", // 搜索页
"pages/searchResult/index", // 搜索结果页面
"pages/publishBall/index",
],
subPackages: [
@@ -17,14 +12,32 @@ export default defineAppConfig({
pages: [
"pages/myself/index", // 个人中心
"pages/edit/index", // 个人中心
],
},
{
root: 'game_pages',
pages: [
"list/index", // 列表页
"search/index", // 搜索页
"searchResult/index", // 搜索结果页面
"detail/index", // 球局详情页
"message/index", // 消息页
],
},
{
root: 'order_pages',
pages: [
"orderList/index", // 订单列表页
"orderDetail/index", // 订单详情页
],
},
{
root: 'other_pages',
pages: [
"message/index", // 消息页
"favorites/index", // 收藏页
"ntrp-evaluate/index", // NTRP评估页
],
},
}
],
window: {