The first step in developing the Mini Program is to have a Mini Program account that allows you to manage your Mini Program.
Follow this tutorial and get started on your Mini Program journey!
Apply for an account
Click https://mp.weixin.qq.com/wxopen/waregister?action=step1 and fill in the information and submit relevant materials according to the guidelines, and then you can have your own Mini Program account.
In this Mini Program management platform, you can manage permissions of your Mini Program, view data reports, release Mini Programs, etc.
Log in https://mp.weixin.qq.com, and you can see the AppID of your Mini Program in the menu of "Settings" - "Development Settings".
The AppID is equivalent to an identity card for the Mini Program platform, and you'll use it in a number of situations later (Note the AppID here is different from that for the Service Account or the Subscription Account).
With the Mini Program account, we need a tool to develop Mini Programs.
Install development tools
Go to the Developer toolkit download page, and download corresponding installation package according to your own operating system. More details about the developer toolkit can be found in the Developer Toolkit Introduction.
Open the Mini Program developer toolkit, and log in by scanning QR code with your WeChat. Now you are ready to develop your first Mini Program!
Your first Mini Program
Create a new project by choosing the Mini Program, choose the disk path for code storage, fill in the Mini Program AppID just applied for, give a good name to your project, and finally, check the "Create a QuickStart Project" (Note: you have to select an empty directory to have this option available). After clicking OK, your first Mini Program is created. With a click on the top menu to compile, you can preview your first Mini Program in the IDE.
Next, let's preview the effect of this Mini Program.
Click the compile button on the tool to see how the Mini Program behaves in the emulator interface to the left of the tool. Or you can click the preview button to experience your first Mini Program on your phone via scanning the QR code by WeChat.
Through this section, you have successfully created your first Mini Program and experienced its smooth performance on the WeChat client.
In the next section, let's look at the code composition of this Mini Program.