0
Follow
0
View

Now, I'm going to do an app, and there's a tricky point

csm0505 注册会员
2023-02-28 13:25
< div class = "md_content_show e397 data - v - 3967" = "" >

wrote a dozen pages, this also is on the right before the

dick0514 注册会员
2023-02-28 13:25

Let's write it in uni-app. The functions can't be exactly the same. You'll have to change them. If you can use vue2, just change your previous one. If they force you to use uni-app, there is no way.

dugu78 注册会员
2023-02-28 13:25
uni-app in the first place? Why not write on the basis of the previous code
If there are certain features of uni-app that make vue2 difficult to implement, just go ahead and write it. The previous code doesn't work directly, so change it a little. If your app has no special need to interact with the user needs, just some webpage can also achieve the function
then you should be decisive html5, and app do a shell to visit their own written website on the line

xudong9 注册会员
2023-02-28 13:25

The current uni-app was created by the company before, not by me.

crd0605 注册会员
2023-02-28 13:25


If your new app needs to run on multiple platforms, such as applet, H5, APP, etc., then using Uni-app is a good choice because it can quickly compile a code base into an application for multiple platforms. However, if you need to use a specific UI library that Uni-app doesn't support, then you need to reconsider Vue2.

If your new app only needs to run on the Web side, and you are already familiar with Vue2 development, then using Vue2 may be a better choice because you can take advantage of the knowledge and experience you have already learned to develop high quality code faster.

Finally, as to whether the previous code logic can be used in Uni-app, this needs to be evaluated and adjusted on a case-by-case basis. If your code logic is based on the development of Vue2, you will need to adapt and migrate your code accordingly to use it in Uni-app. If your code logic is simple, you may only need to make some minor tweaks.