You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 17, 2022. It is now read-only.
Rax 的做法
在
build.json
中通过miniapp.nativeConfig
字段配置:编译过程中读取该字段并输出至 dist 目录的 project.config.json
Taro 的做法
在项目根目录或 src 目录放置 project.config.json,编译时将该文件拷贝至 dist 目录
ICE 怎么做?
个人倾向于 在 build.config.mts 中新增
miniapp
字段,在其中可配置小程序端的nativeConfig
:当多端小程序存在差异时,使用环境变量(如 process.env.PLATFORM)进行差异化逻辑编写
The text was updated successfully, but these errors were encountered: