Small program preparation

1. Enter the WeChat public platform

Insert picture description here

2. If there is no Mini Program account, you need to register

Insert picture description here

3. Save the AppID (small program ID) in an easy-to-find place for each use

Insert picture description here

4. Click on the document in the upper right corner

Insert picture description here

5. Follow the picture

Insert picture description here

6. Create a folder (cannot have content)

Insert picture description here

7. The project should be the same as the file name, paste the registered appid, back-end service selection => do not use cloud service, and click New

Insert picture description here

8. Transform the files

Delete all the content in the app.js file, enter the App, find the template code as shown in the figure, and save
Insert picture description here
Insert picture description here
it. Delete the logs file and delete the logs in the
Insert picture description here
page.
Insert picture description here

9. Attention! ! Who is on the top in pages is the home page
10.Note the specific reference link for global configuration in the window .

Guess you like

Origin blog.csdn.net/weixin_49866029/article/details/108221184