【WeChat Mini Program】Teach you how to register a development account, install development tools, and use development tools

Table of contents

foreword

1. Register your own account

2. Install the developer tools

3. Use development tools


foreword

What is WeChat Mini Program?

WeChat Mini Program is a kind of Mini Program. The English name is Wechat Mini Program. It is an application that can be used without downloading and installing. It realizes the dream of application "at your fingertips". Users can scan or search for it. App can be opened.

1. Register your own account

1. Browser search WeChat public platform: WeChat public platform WeChat public platform, a new service platform that provides business services and user management capabilities for individuals, enterprises and organizations. https://mp.weixin.qq.com

2. After entering, click Register Now in the upper right corner

 

  3. After clicking Register, you will enter the first registration process, as shown below, select the red box to register

 4. After selecting, you will be asked to enter an email address to be bound and set a password

5. After clicking register, an activation email will be sent to your email. We know that you can log in to your email and activate as required. 

6. After activation, it will jump directly to the information login, here we choose personal

7. Then fill in your personal information

8. Complete the above steps to complete the registration 

2. Install the developer tools

1. After the registration is completed, we can use WeChat to scan and log in to the public platform. After entering, we find the development and click on the developer tool

2. Click on the developer tools and click on the download

 

3. After clicking download, it will jump to a new page. We choose the stable version, the 64-bit version, or download the version according to your own computer. Most users should be windows 64.

4. After the download is complete, just follow the installation process. I will not demonstrate it one by one. If you have any questions, please ask me privately. The installation path here is on the C drive, and I installed it on the E drive, but there are some, experienced people It is recommended not to change the installation address casually, the default installation will be better, I have not encountered it yet, because of the installation path, an error is reported, just in case we will not change it. 

5. After installation, scan the code to log in to your own developer tools.

3. Use development tools

After the above steps, we can start using the developer tools. First of all, I will not teach you to develop natively on the WeChat developer tools. Here we use HBuilder X, which can directly create small program templates, and Can run on WeChat developer tools

1. Create a framework, we are using uni-app framework development, and create projects directly on HBuilder X

2. After the creation is completed, you can click Run and select to run to the applet simulator, and then select the first one. If you remember correctly, you may need to download the plug-in for the first time. If you have any other questions, please contact me.

3. If there is no problem, you will get the style as shown below. If it appears, it is basically completed. All the work before the development of the applet

4. The above basic preparations have basically been completed, but I still give you a few suggestions. First, we find the manifest.json in the HBuilder X project, find the WeChat applet configuration, and enter your own ID. I don’t know, see the picture below

 

5. Click Details, select Local Settings, you will see the version base library, you can choose a lower one, I am developing, this version of the base library is too new, which has affected several times

Closing remarks:

This sharing is over

If you have any problems, you can send a private message to Xiaoyu, let's make progress together

Guess you like

Origin blog.csdn.net/yzq0820/article/details/127112867