标签:加载 root col 文件中 package adr nbsp sub code
pages.json文件中与pages同级
{ "pages": [{ "path": "pages/index/index", "style": { ...} }, { "path": "pages/login/login", "style": { ...} }], "subPackages": [{ "root": "pagesA", "pages": [{ "path": "list/list", "style": { ...} }] }, { "root": "pagesB", "pages": [{ "path": "detail/detail", "style": { ...} }] }], "preloadRule": { "pagesA/list/list": { "network": "all", "packages": ["__APP__"] }, "pagesB/detail/detail": { "network": "all", "packages": ["pagesA"] } } }
标签:加载 root col 文件中 package adr nbsp sub code
原文地址:https://www.cnblogs.com/zjxiang008/p/13300239.html