哪个是更好的vue-native或nativescript-vue? [英] Which is better vue-native or nativescript-vue?
问题描述
我想用VueJS启动一个移动应用程序.谁能建议我可以在 vue-native 或
I would like to start a mobile app with VueJS. Can anyone please suggest which Framework I can choose between vue-native or nativescript-vue?
推荐答案
Vue-Native只是ReactNative的包装.因此问题变成了 ReactNative 与 NativeScript ?
Vue-Native is nothing but a wrapper around ReactNative. So the question becomes ReactNative vs NativeScript?
我认为它是 NativeScript .
- 支持Angular& Vue
- 也可以使用Core JavaScript/TypeScript
- 更好的代码共享
- 100%可以访问本机api
ReactNative 具有庞大的社区和种类繁多的插件,但是问题在于您需要自定义.每个应用程序都有自己的独特性,至少要在您充分了解Objective C/Java并处理自己的fork等之前,很难根据自己的需要定制插件.
ReactNative got a huge community and range of plugins, but the problem beings when you want to customise. Every app is unique in it's own way, it becomes really hard to customise a plugin for your own needs at least until you have good exposure to Objective C / Java and handle your own forks etc.,
使用 NativeScript ,您始终可以访问本机对象& API形式的JavaScript,如果要自定义任何内容,只需在项目中的插件上编写覆盖.
With NativeScript you can always access the native objects & apis form JavaScript, simply write overrides on plugins within your project if you want to customise anything.
以下是几篇博客文章&那些比较这些框架的视频.
Here are few blog posts & videos those compare these frameworks.
- Would Airbnb Have Fared Better With NativeScript Instead of React Native?
- ReactNative vs NativeScript
这篇关于哪个是更好的vue-native或nativescript-vue?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!