WeChat applet development - first experience

I'm bored at home on vacation, so I study a little program


Register an account and configure

First, you need to go to the "WeChat Public Platform" to register a WeChat applet development account.
write picture description here
Note that only one of the above four can be selected. After entering the information to be filled in, you can always confirm it.
After logging in, you can open "Documentation" in the title bar, and "Introduction" in the first column. Follow this introduction to prepare for development


A brief introduction to development tools

Because the development tools are all in Chinese, there is no need to introduce too much.
For the download and installation of the tool, please refer to the instructions in the "Introduction" mentioned above.
write picture description here
It is very similar to developing a web project, except that html becomes wxml.
For the tags of whtml, please refer to "Documentation" - "Design" - "Components"
WeChat Origin API (js) can refer to "Documentation" - "Design" - "API"


run, upload

Running: As long as Ctrl+S saves, it will be automatically updated, and the tool comes with an emulator.
Upload: Click "Upload" in the tool, fill in the necessary information, pay special attention to the version number, and upload it.
In addition, the uploaded code needs to be reviewed on the WeChat public platform, enter the homepage of the WeChat public platform (mini program), and click "Development Management"
write picture description here
. Click the inverted triangle behind the version module, and then click "Select as the experience version", you can no longer need to review.


Later, learn the tags of wxml and the original API of WeChat, and access the background service.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325983788&siteId=291194637