[app.json file content error] app.json: app.json not found in the project root directory

 1- This is a uni-app project. It has not been converted into a WeChat applet. It needs to be converted

    Key point: First of all, there must be an unpackage folder. If there is no one, you need to compile it in HBuilder X

 

2- Before compiling, you need to open the port number in the WeChat applet Settings - Security Settings - Open the port number

 

 3 - Open  HBuilder X and compile it. The first compilation will download the plug-in 

 

 

 4 - After the compilation is complete, a folder unpackage will appear  

 5- Open the WeChat developer tool and configure the file project.config.json Add the specified app.json path 

 

 6- The back of the back is running normally

 

 

Guess you like

Origin blog.csdn.net/qq_38062838/article/details/129673159