9.21 applet development training seminars

First js Language Introduction: The main function of the arrow and Promise chained calls fresher
then that is a formal program developed small

Applet development

  1. Project structure
    • app.js: small program logic
    • wxml: Page Structure
    • json: page layout
    • wxss: Page Style Sheet
    • project.config.json: Project Configuration
  2. Project Configuration
  3. Telecommunication
    • Specify the domain name with a request to initiate a HTTPS / WSS
  4. Cloud Development

Started Photo Wall demo and a variety of development configuration: https://github.com/15809284891/photoWall

Demo will not run up run, the permanent key shall be arranged on a cloud function

Applet to communicate with only a specific domain name, the domain name should be disposed in the bucket of the bucket config.js region arranged up and

Guess you like

Origin www.cnblogs.com/WindyZ/p/11563884.html