diff --git a/pages.json b/pages.json index 41482f2..2397e15 100644 --- a/pages.json +++ b/pages.json @@ -1,31 +1,37 @@ { "easycom": { - "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue" - }, - "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages + "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue" + }, + "subPackages": [ { - "path": "pageA/welcome/welcome", - "style": { - "navigationBarTitleText": "", - "navigationStyle": "custom", - "app-plus": { - "titleNView": false, - "animationType": "slide-in-bottom" - } + "root": "pageA", + "pages": [ + { + "path": "welcome/welcome", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom", + "app-plus": { + "titleNView": false, + "animationType": "slide-in-bottom" + } - } - }, - { - "path": "pageA/login/login", - "style": { - "navigationBarTitleText": "", - "navigationStyle": "custom", - "app-plus": { - "titleNView": false, - "animationType": "slide-in-bottom" + } + }, + { + "path": "login/login", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom", + "app-plus": { + "titleNView": false, + "animationType": "slide-in-bottom" + } } } - }, + ] + }], + "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages { "path": "pages/index/index", "style": {