Applet preparations

1, registered developer account: https://mp.weixin.qq.com/

 Registration required :( note that the selected [E-mail] requirements)

   2, the applet information Description:

  After successful registration, visit:

Development - "Development set:

 Remember that this [APPID] , personalized

  3, compiler download: https://developers.weixin.qq.com/miniprogram/dev/devtools/download.html

  After downloading the default installation:

Phone micro-channel scan code to log in:

When creating a new applet project, APPID can be filled, with the test if the number is not released:

 

   4, the directory structure:

Applet contains a description of the overall program  app and a description of each of a plurality of pages  page.

A small part of the main program consists of three files must be placed in the root directory of the project, as follows:

 

 A small program page consists of four files, namely:

Note: In order to facilitate developers to reduce configuration items, four file description pages must have the same path and file name

Guess you like

Origin www.cnblogs.com/pam-sh/p/12326470.html