Home>Article>WeChat Applet> Which WeChat mini program framework is currently popular?
Which WeChat mini program framework is currently more popular?
The most popular WeChat mini program framework at present is uniapp. This framework is a mini program framework developed using Vue. Its advantage is that developers only need to write a set of code to publish it to iOS. , Android, H5, and various small programs, such as WeChat, Alipay, Baidu, and other platforms.
uniapp structure
components | uni-app component directory, where reusable components are placed |
---|---|
pages | Directory where business page files are stored |
static | Store applications Where static resources (such as pictures, videos, etc.) are referenced, note: static resources can only be stored here |
App.vue | Application configuration, used to configure the App Global styles and monitoring application life cycle |
main.js | Vue initialization entry file |
mainfest.json | Configure application name, appid, logo, version and other packaging information |
pages.json | Configure page routing, navigation bar, tab and other page information |
Vue introduction
Vue.js is a progressive framework for building user interfaces. Unlike other heavyweight frameworks, Vue adopts a bottom-up incremental development design. Vue's core library only focuses on the view layer, and is very easy to learn and integrate with other libraries or existing projects. Vue, on the other hand, is fully capable of driving complex single-page applications developed using single-file components and libraries supported by the Vue ecosystem.
The goal of Vue.js is to implement responsive data binding and composed view components through the simplest possible API.
Vue.js itself is not a comprehensive framework - it only focuses on the view layer. Therefore it is very easy to learn and very easy to integrate with other libraries or existing projects. On the other hand, when used together with related tools and support libraries, Vue.js can also perfectly drive complex single-page applications.
Recommended tutorial: "PHP Tutorial"
The above is the detailed content of Which WeChat mini program framework is currently popular?. For more information, please follow other related articles on the PHP Chinese website!