To share with you, wechat small program project is very practical framework and tool library ~

The framework is recommended

WePY

WePY is a framework that allows small programs to support component-based development. By means of precompilation, developers can choose their preferred development style to develop small programs. Notable features are the vUe-like development style and small program details optimization, such as request queuing, event optimization and so on.

Address: WePY

mpvue

Mpvue is a front-end framework for developing applets using vue.js.

Unlike Wepy, it hopes that in the future, a single set of code can run directly in multiple applications: WEB, small programs (wechat and Alipay), Native (with weex).

Address: mpvue

Tools recommended

postcss-px2units

PostCSS plugin to convert PX units to RPX units, or other units.

As mentioned, the MPVue framework expects a set of code to run on multiple sides, and an important aspect of this is the conversion of PX to RPX units.

Postcss-px2units can be easily converted using a simple configuration. And the plugin can convert PX to any unit you want, such as REM.

Address: postcss – px2units

gulp-upload-qcloud

Tencent cloud COS static resources upload gulp plug-in

Due to the small program code package upload size limit, so, often some large pictures, will be directly uploaded to the CDN. The plugin supports custom file prefixes, overwrite and non-overwrite upload methods.

If your applets don’t use gulp build tools, I recommend another tool, upload-qcloud, slide down

Address: gulp – upload – qcloud

qcloud-upload

Based on NodeJS Tencent cloud upload plug-in

You can customize file prefixes, overwrite and non-overwrite upload modes. For more details, please read the documentation

Address: upload – qcloud

weapp.qrcode.js

In wechat mini program, quickly generate two-dimensional code

App.qrcode.js allows users to customize the content, width, and error correction level of the qrcode. In addition, also support the generation of different landscape of the TWO-DIMENSIONAL code, show you a look ah.

Address: weapp – qrcode

The last

With the continuous development and improvement of small procedures, I believe that there will be more people into the development of small procedures, I hope that some of the tools recommended in this article can help you.

If there is any unclear or improper statement in the article, we welcome your criticism and correction.