Note: This series of notes for my study online MOOC “micro channel small program introduction and actual combat (new version)” the teacher spoke very well, five star recommendation

Download small program development tools

Developers.weixin.qq.com/miniprogram…

Two, small program entry

Creating a default project

  • Register an applet account
  • Enter wechat public platform – development – Development Settings – to obtain the appID
  • Use wechat developer tools to create a new project, choose not to use cloud development mode, enter the following initial project picture

  • Item Settings are checked as follows, the legitimate domain name will not be verified after online… Deselect HTTPS certificate

  • The program page routing structure of the project is as follows

Basic directory structure parsing

App.js, app.json, app.wxss are files that control the entire program

  • Js – > js file
  • .json-> configuration file
  • WXML – > HTML file
  • WXSS – > CSS file

Complete the initial experience of small program