{
"pages": [
"pages/index/index",
"pages/vip/vip",
"pages/visit-record/visit-record",
"pages/protocol/protocol"
],
"subPackages": [
{
"root": "subPackage",
"name": "cms",
"pages": ["pages/index/index"],
"entry": "index.js"
}
],
"window": {
"backgroundColor": "#F6F6F6",
"backgroundTextStyle": "light",
"navigationBarTitleText": "柯坪县金时代健身房",
"navigationBarBackgroundColor": "@navBgColor",
"navigationBarTextStyle": "@navTxtStyle",
"navigationStyle": "custom"
},
"usingComponents": {
"t-icon":"/miniprogram_npm/tdesign-miniprogram/icon/icon"
},
"renderer": "webview",
"rendererOptions": {
"skyline": {
"defaultDisplayBlock": true,
"defaultContentBox": true,
"tagNameStyleIsolation": "legacy",
"disableABTest": true,
"sdkVersionBegin": "3.0.0",
"sdkVersionEnd": "15.255.255"
}
},
"componentFramework": "glass-easel",
"sitemapLocation": "sitemap.json",
"lazyCodeLoading": "requiredComponents",
"darkmode": true,
"themeLocation": "theme.json"
}
subPackage/index.js错误:
Error: module 'subPackage/index.js' is not defined, require args is 'subPackage/index.js'
at q (WASubContext.js?t=wechat&s=1739290253207&v=3.7.7:1)
at appservice.js:7
at doWhenAllScriptLoaded (.js:113)
at .js:182
at .js:231
at <anonymous>:242:29(env: macOS,mp,1.06.2412050; lib: 3.7.7)
(anonymous) @ VM5553:242
Promise.then (async)
(anonymous) @ VM5553:2
(anonymous) @ VM5553:245
Error: module 'subPackage/index.js' is not defined, require args is 'subPackage/index.js'
at q (WASubContext.js?t=wechat&s=1739290253207&v=3.7.7:1)
at appservice.js:7
at doWhenAllScriptLoaded (.js:113)
at .js:182
at .js:231
at <anonymous>:242:29(env: macOS,mp,1.06.2412050; lib: 3.7.7)
(anonymous) @ VM5553:242
Component is not found in path "wx://not-found".(env: macOS,mp,1.06.2412050; lib: 3.7.7)
Page "subPackage/pages/index/index" has not been registered yet.
[获取文件失败] 以下文件已被配置忽略打包上传,模拟器无法获取:
subPackage/index.js(env: macOS,mp,1.06.2412050; lib: 3.7.7)
