{ "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages { "path": "pages/index/index", "style": { "navigationBarTitleText": "首页", "navigationStyle": "custom" } }, { "path": "pages/login/login", "style": { "navigationBarTitleText": "登录", "navigationStyle": "custom" } } ], "subPackages": [ { "root": "center", "pages": [ { "path": "center", "style": { "navigationBarTitleText": "我的", "navigationStyle": "custom" } } ] } ], "preloadRule": { }, "globalStyle": { "navigationBarTextStyle": "black", "navigationBarTitleText": "uni-app", "navigationBarBackgroundColor": "#F8F8F8", "backgroundColor": "#F8F8F8" }, "uniIdRouter": {} }