In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
The knowledge points of this article "how to choose WeChat Mini Programs Development Framework" are not quite understood by most people, so the editor summarizes the following contents to you. The content is detailed, the steps are clear, and it has a certain reference value. I hope you can get something after reading this article. Let's take a look at this "how to choose WeChat Mini Programs Development Framework" article.
From a data point of view, wepy is better than mpvue, but we need to see that only a year after the release of mpvue, there is a faint trend to catch up with wepy.
I personally look at these two frameworks from the following aspects:
1. Ideas
Personally, I think mpvue's idea is more advanced. The conversion idea of the vue framework is great, it can be used in many ways (if necessary), and as long as the average developer knows vue and Mini Program, it can get started quickly and connect smoothly. In addition, if the code needs to support the new features of Mini Program or vue, you only need to modify it on mpvue-loader. In terms of extension, it is compatible with vue's mixin and vuex buckets, and can also be enhanced through webpack-loader.
Although wepy is also a vue-like framework, you will find that a lot of vue syntax can not be used in it, and native html tags cannot be used on tags. Developers need to understand the syntax of vue, Mini Program and wepy, and if you use the data flow management provided by wepy, you need to know redux at least. With so much to learn, the threshold for new developers is a little high.
2. Development experience
This is closely related to the design idea. On the whole, I prefer mpvue. After all, it is the experience of the vue family. All kinds of required components can be moved here. It will be troublesome for wepy to move the vue components here.
In terms of data flow, although the annotated connect of wepy is relatively simple, it always feels a little inconsistent with the integration of vue framework and redux, and it is not convenient to write. On the contrary, mpvue's vuex is much more pleasing to the eye.
3. Low-level optimization
It can be said that each has its own advantages at this point. After all, the optimized request approach is integrated, and mpvue needs to choose its own ajax components. On the other hand, mpvue has native support for converting px to rpx, and the various optimization details mentioned by wepy are actually some capabilities of the vue framework itself, so mpvue natively supports it.
4. Ecological community
At this point, wepy should have a little advantage, after all, Tencent's own product, Wechat, it is easy to foresee. For now, however, there are still many components based on Mini Program natives, and there are still some costs to convert to .wpy files from wepy. Similarly, for mpvue, there is no particularly good UI library, and it is painful to forcibly convert some existing class libraries to Mini Program versions. So both of them should have a long way to go in the ecological construction of Mini Program scaffolding development.
The above is about the content of this article on "how to choose WeChat Mini Programs Development Framework". I believe we all have a certain understanding. I hope the content shared by the editor will be helpful to you. If you want to know more about the relevant knowledge, please follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.