I would like to start a mobile app with vue js.Can any one please suggest which framework i can choose between vue-native or nativescript-vue?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Vue-Native is nothing but a wrapper around ReactNative. So the question becomes ReactNative vs NativeScript?
In my opinion, it's NativeScript.
- Supports frameworks like Angular & Vue
- Works with Core JavaScript / TypeScript too
- Better code sharing
- 100% access to native apis
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.,
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