{ "easycom": { "custom": { "^w-(.*)": "@/w-components/components/w-$1/w-$1.vue", "^u-(.*)": "uview-plus/components/u-$1/u-$1.vue" } }, "pages": [{ "path": "pages/index/index" }], "subPackages": [{ "root": "pages/demo", "pages": [{ "path": "index" }, { "path": "demo0" }, { "path": "demo1" }, { "path": "demo2" }] }], "preloadRule": { "pages/index/index": { "network": "all", "packages": ["pages/demo"] } }, "globalStyle": { "navigationStyle": "custom", "backgroundColor": "#F8F8F8" }, "condition": { //模式配置,仅开发期间生效 "current": 0, //当前激活的模式(list 的索引项) "list": [{ "name": "", //模式名称 "path": "pages/demo/demo1", //启动页面,必选 "query": "" //启动参数,在页面的onLoad函数里面得到 },{ "path": "pages/demo/index" }] } }