The basic configuration of uni to develop WeChat applets

It is the first time for you to use uni to develop WeChat applets. You may want to run it in the WeChat developer tool to view it. If you find that you cannot view it, you will be prompted to configure it. 

1. First you need to download the Stable Build of WeChat Developer Tools   | WeChat Open Documentation (qq.com)

This suggestion is now a stable version of the windows version. For mac, it depends on whether it is an Intel or M series. You need to pay attention when downloading

2. You need to fill in the path in HBuilder X => Tools => Settings => Run Configuration => Mini Program Run Configuration => WeChat Developer Tool Path 

 In windows, you can find it on the desktop. Right-click on the WeChat developer tools to find the location where the current file is opened. 

 

 

Now that the HBuilder X configuration is complete, it’s time for the WeChat developer tools

3. Create a project in the WeChat developer tool, and then open it in Settings => Security Settings => Service Port (this is closed by default)

4. Click Run in HBuilder X => Run to Mini Program => WeChat Mini Program

Summary: If you need to run the applet in HBuilder X, you must remember to click the folder on the left side of HBuilder X. If the configuration is still above, the built-in terminal of HBuilder X shows that the operation is successful but it is a jump. Please close the WeChat applet development tool, and then run the applet again.

Guess you like

Origin blog.csdn.net/weixin_59727199/article/details/125937401