当前位置:网站首页>Preparation for wechat applet development

Preparation for wechat applet development

2022-06-26 03:17:00 Small vegetable bird yard live

  1. Sign up for wechat applet ( You need to prepare a new mailbox that has not registered an applet for registration )
  2. Install wechat developer tools ( Download the wechat development document )
    Download path :https://developers.weixin.qq.com/miniprogram/dev/devtools/download.html
  3. Create a project , Creating a new project requires appid, Available in the applet background (appid Is the application id , Every wechat applet has an original appid, It's just like a person's ID number , This is the ID of the applet . Is the only one. , Will not repeat with other procedures )
  4. Log in wechat public platform : Perfect information , Configure server domain name ( website :https://mp.weixin.qq.com/
  5. It is recommended that wechat applets UI Component library (ColorUI)
    colorui Component library usage steps : Download address :https://github.com/weilanwl/ColorUI
    1. Download the installation package , Entered after decompression demo Folder
    2. Copy colorui Folder to applet project
    3. hold main.wxss,icon.wxss File import to app.wxss In the document
  @import "colorui/main.wxss";
  @import "colorui/icon.wxss";

4. Put the following code into app.json In the document

"usingComponents": {
    
    "cu-custom": "/colorui/components/cu-custom"
  }
原网站

版权声明
本文为[Small vegetable bird yard live]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/177/202206260249288631.html