Which is better vue-native or nativescript-vue? [closed]
Asked Answered
A

3

47

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?

Apteral answered 20/12, 2018 at 10:46 Comment(2)
What have you researched so far?Immanuel
I have written sample apps of both and I feel native script is better since designing native components with native script is some what similar with HTML tags.Apteral
M
73

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.

Misread answered 20/12, 2018 at 11:37 Comment(3)
Thank you manoj.actully sample apps of both and I too feel native script is better since designing native components with native script is some what similar with HTML tags.Apteral
That means that Vue-Native has the same React Native power but in a Vue manner implemented? Or are there things that can be done in React Native that cannot in Vue-Native?Medan
It may be possible but I wouldn't personally suggest Vue Native as it's maintained by a third party. As of today, last activity on the repo was over 4 months ago.Misread
B
12

As @Manoj mentioned about the biggest advantage of using Nativescript is : You can access all the native elements and apis from Javascript.

I think another plus is the ability to create a code-sharing project. New Vue CLI plugin enables code sharing between web and mobile.There’s nothing quite as awesome as watching your web, iOS and Android app all spinning up at once with the same codebase.

You can further read on nativescript blog and here is the sample project.

Boyfriend answered 27/5, 2019 at 4:51 Comment(0)
R
2

You should also look into simply wrapping your Vue app with Cordova. I was required recently to build a mobile app and went through both vue-native & nativescript-vue, eventually ending up with Cordova.

At a basic level, you can wrap any static website and compile it as an android or ios app. If you need native elements you can also do so once Cordova fires the 'deviceready' event.

Ruling answered 15/12, 2020 at 8:11 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.