Project Configuration
Each type of mini-program platform has its own project profile, for example
- WeChat mini-program, project.config.json
- Baidu smart mini-program, project.swan.json
- ByteDance mini-program, project.config.json
- QQ mini-program, project.config.json
- Alipay mini-program,mini.project.json
- Jingdong mini-program, Not found
To be able to adapt to the different profiles of different mini-program platforms, Taro supports adding individual project profiles for each mini-program platform.
Projects created through the Taro template will have a project configuration file project.config.json
by default, which can only be used for WeChat mini-program, to be compatible with other mini-program platforms, please add the configuration file of the corresponding platform according to the following corresponding rules, and the configuration is consistent with the requirements of the respective mini-program platforms.
Mini-program Platform | Configuration File |
---|---|
WeChat mini-program | project.config.json |
Baidu smart mini-program | project.swan.json |
ByteDance mini-program | project.tt.json |
QQ mini-program | project.qq.json |
Alipay mini-program | project.alipay.json |