Baidu applet running and uploading

I checked a lot of information to solve the problem, and attached a screenshot, hoping to help everyone.


foreword

If you do not understand       the request , method , etc., you can read the Baidu document, and the typesetting function of the uniapp document is similar to the Baidu smart applet document


提示:以下是本篇文章正文内容,下面案例可供参考

1. What stages do you need to go through when developing a smart applet?

2. Run the uniapp project on the Baidu applet development tool

1. run

 

2. Find the correct folder

 Note: Import the generated packaged product directly, and the mp-baidu folder will do

wrong choice:

If you directly import the project into the Baidu applet development tool, an error will be reported


 

3. Baidu applet package and upload

Pay attention to avoid pits:

When publishing the applet, it prompts: "Please scan the code to preview first, and publish it after confirming the effect."

Obviously, it has been previewed as required, but after clicking publish, it still prompts.

Solution:

After clicking publish, click preview, and then use the mobile phone Baidu APP to scan and preview.

Be sure to use the Baidu app on your mobile phone. After scanning the preview with other devices, the result will still keep prompting that it cannot be published, remember! ! !

 

 Finally, the package upload is successful.

✨It's not easy to be original, and I hope you guys will support me~~~

Guess you like

Origin blog.csdn.net/z_2183441353/article/details/127014837