Introduction to small programs

Development environment configuration and preparation

The development tools

  • IDE phpstorm 或者 webstorm

Fix file suffixeswxss/wxml

  • Small program tool download

Can be downloaded according to their own system environment corresponding platform tools developers.weixin.qq.com/miniprogram…

Matters needing attention

  1. Applets require AN HTTPS API, so there are many free certificates available on the web

    1. Ali cloud yq.aliyun.com/articles/22…
    2. Zhihu on netizens recommend www.zhihu.com/question/19…
    3. Tencent cloud jingyan.baidu.com/article/c14…
  2. Domain name, Ali cloud/Tencent cloud, Taobao and some of the above have

  3. Back-end server, if your small program is dynamic, this is inevitable, Tencent cloud has a process, HTTPS certificate, domain name what all get done, not so troublesome

Develop documentation and community

  1. The API documentation
  2. community
  3. The design specification
  4. Simple tutorial
  5. The framework
  6. component
  7. Development frameworkIf you know betternodejs, and do not want to stay in the original development above, recommend to use this, this is Tencent official, so it is more reliable, the problem is solved quickly,At the bottom of this page you can see a number of demo cases. So you can see how other people develop with this framework
  8. Good UI framework, good students provide a set of high level of appearance UI framework, in the development process, the use of the framework can make your development like a tiger. How do I import this plug-in

How do you start your small program development journey

A demo is provided and of course shows you how to use the tool,

Enter the small program background, scan code after login, need to fill in some configuration, your request URL, in the Settings inside configuration

When we open the tool, we can create a create QuickStart project

Execute the compilation or it will automatically compile, and then we can see our first little program here. An avatar, a nickname, etc.

About Coding development

I’m not going to talk about code development here, but keep an eye out for future articles, and we can start with a simple tutorial, a simple tutorial

Network reference

  1. www.cnblogs.com/niuxiaoling…
  2. Developers.weixin.qq.com/miniprogram…