Announcement: Tencent Cloud Mini Program Platform Renamed to Tencent Cloud Super App as a Service on January 2, 2025
Console Updates
Android SDK Updates
iOS SDK Updates
Flutter SDK Updates
IDE Updates
Base Library Updates
project.config.json file in the project root directory allows you to configure the project.project.config.json file is mainly used in mini programs to configure the behaviour and characteristics of the mini program development tool. This file allows developers to adjust some of the default settings of the development tool to better suit the development process and environment.attribute | type | describe |
Path String | Specify the directory of the source code of the mini program (must be a relative path). | |
String | Compile type, default is miniprogram. | |
String | The appid of the project. | |
String | Project name | |
Object | Project setting | |
String | Base library version | |
Object | Conditional Compilation Configuration | |
Object | IDE mockAPI Configuration |
{"miniprogramRoot": "./src"}
{"compileType": "miniprogram"}
{"[xxx]appid": "mpz5g4hpzd5p3k2l"}
{"projectname": "main-demo"}

attribute | type | describe |
es6 | Boolean | Whether to enable es6 to es5 conversion |
postcss | Boolean | Whether to auto-complete the style when uploading code |
minified | Boolean | If or not the script file will be automatically compressed when uploading code. |
uglifyFileName | Boolean | Protect code when uploading |
urlCheck | Boolean | Whether to check secure domain name and TLS version and HTTPS certificate |
{"libVersion": "1.5.0"}

{"condition": {"miniprogram": {"current": 0,"list": [{"id": 0,"name": "tab3","pathName": "page/extend/index","query": "","scene": null},{"id": -1,"name": "tab4","pathName": "page/extend/index","query": "name=1","scene": null}]}}}

{"globalOpen": true,"rules": [{"ruleName": "testApi","ruleId": "48b83a70-84fd-400d-b53d-097518cfa515","apiName": "invokeNativePlugin","enable": true,"mockType": "API","returnType": "succ","resStr": "{\\n\\"name\\": 1,\\n\\"cvv\\": 2,\\n\\"ccdd\\": \\"c223344\\"\\n}","filterList": [{"propName": "api_name","propRegString": "testApi","matchType": "string"},{"propName": "","propRegString": "","matchType": "string"}],"verifyFail": false}]}
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback