Home  >  Article  >  WeChat Applet  >  TODO: Setting up a small program development environment

TODO: Setting up a small program development environment

高洛峰
高洛峰Original
2017-02-11 11:12:341959browse

TODO: Setting up a mini program development environment

1. The first step is to register the mini program first

2. Log in to the mini program

a) Complete Mini program information, such as name, icon, description

3. Bind developer

TODO:小程序开发环境搭建

4. Get AppID and set server information

TODO:小程序开发环境搭建

5. Download and install developer tools

a) Use the administrator or bind to the developer WeChat account to scan and log in, and select the local mini program project
TODO:小程序开发环境搭建

b) To create or open a project, you need to fill in the AppID, project name and local development directory. On the left side of the developer tool is an emulator that can simulate mobile phones of different sizes. Currently, it can only simulate iPhone and Android models. The network can simulate wifi, 2g, 3g, and 4g; on the right side is a debugging tool that can be coded and debugged. If you want To select elements on the interface, you need to switch to "Wxml"; if you find coding inconvenient, you can also choose your favorite editor to edit the code, and then preview it on the developer tools.

TODO:小程序开发环境搭建

6. The mini program is a front-end framework hosted on WeChat (the editor’s understanding). The data is still specially processed by the server, and the server domain name needs to go through ICP For the record, the protocols used are https and wss encryption protocols.

TODO:小程序开发环境搭建

7. https, wss encryption protocol, all major cloud server platforms have their own free CA certificate services, you can apply for it by yourself, or you can buy it with money

8. At this point, the simple WeChat applet development environment can be set up, and it has been successfully run from the front end to the back end. Small programs and small goals are getting better and better and can be released as soon as possible.

For more TODO: Building a small program development environment and related articles, please pay attention to 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