Skip to main content
Version: 3.x

Project Configuration

Each type of mini-program platform has its own project profile, for example

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 PlatformConfiguration File
WeChat mini-programproject.config.json
Baidu smart mini-programproject.swan.json
ByteDance mini-programproject.tt.json
QQ mini-programproject.qq.json
Alipay mini-programproject.alipay.json