Home  >  Article  >  WeChat Applet  >  How to create your own WeChat mini program

How to create your own WeChat mini program

尚
Original
2020-03-28 10:17:1310644browse

How to create your own WeChat mini program

Quickly create your own mini program:

Step 1: Enter https://mp.weixin.qq.com/ official website, select, [Mini Program 】>>[Develop] option to enter to view the mini program development documents.

How to create your own WeChat mini program

Under the development option, you can see the official tutorials, frameworks, components, APIs, tools, and some frequently asked questions. These are very useful when we develop WeChat mini programs.

Step 2: Download WeChat Developer Tools

Enter the [Tools] option in the official website documentation and select the development tool suitable for your computer operating system.

How to create your own WeChat mini program

Step 3: Scan to log in

The first time you use the WeChat developer tools, you are required to use the WeChat scan to log in. This account will be used as an administrator to manage your project. After the login is completed, it looks like this:

How to create your own WeChat mini program

#Here we choose the local applet project. Click in:

How to create your own WeChat mini program

Step 4: Create a new WeChat applet

Click the [ ] number in [Add Item] in the picture above to add an item operate. You will see the following picture:

How to create your own WeChat mini program

AppId: AppId needs to be applied for on the official website, which will be used when uploading to the WeChat server in the future. Here we are just a demo for practice. We choose No AppId.

Project name: This is the name of your new project.

Project directory: where the source code of this project is stored.

The following is the configuration of my new project demo:

How to create your own WeChat mini program

Click the [Add Project] button to create a new WeChat applet default program hello world. This is automatically created by the system by checking [Create quick start project in the current directory]. When we are working on projects, we often need to delete unnecessary content, but as a novice, we can keep it first and read it first. See how the files in various formats are written.

The picture below is the newly created default WeChat mini program view:

How to create your own WeChat mini program

Recommended: " Mini Program Development Tutorial"

The above is the detailed content of How to create your own WeChat mini program. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn