I also recently just started the development of wechat small program, I would like to write out some of my self-taught experience to share with you.

This is the first article, starting from scratch to learn wechat small program development. It is mainly the registration of small procedures and the construction of the development environment.

First of all, we need to apply for a small program of our own wechat on the following website:

mp.weixin.qq.com/cgi-bin/wx

Click on the button “Go register”. Note that we need to use a mailbox that has not registered wechat mini program or wechat official account. I use netease email. After registering, your email will receive an activation email.

After activation, you can enter the applets main information registration page. To register, you need to use your ID number and mobile verification code.

After registration, you can enter the wechat developer tools. I chose the small program project:

This is the wechat applet I registered for learning purposes:

In the development management -> development design menu, find the wechat small program ID we just registered: copy down, to use later.

Next, download the wechat developer tools at the following link:

Developers.weixin.qq.com/miniprogram…

Think of it as an integrated development environment (IDE).

After the installation, we will be asked to specify a local project directory and fill in the AppID of the wechat applet when we start the wechat developer tool. This is the ID that we copied down in the previous step.

Directly fill in, tick “create normal quick launch template”, and then wechat developer tools will automatically help us to create a Hello World version of wechat applets resource file.

The automatically created applet is shown below as a Hello World text.

We click the “Upload” button:

Maintain a random version number, such as 1.0.0, and click upload.

Then back to the small program management background, we can see the 1.0.0 version of the small program uploaded through wechat developer tools. We click on the drop-down menu on the right of “Submit for review” and select “Select For Trial Version” :

It will generate an experience version of the QR code, then send it to your friends, you can use this small program.

When your friend scans the QR code on his mobile phone, he will see the following interface:

Click “Go to experience version “, you can see the Hello World mini program automatically generated by wechat developer tool.

In the next article of this series, I will share my thoughts on analyzing these resource files automatically generated by wechat developer tools.

For more of Jerry’s original technical articles, please follow the public account “Wang Zixi” or scan the following QR code: