Native apps with Vue.js: Weex or NativeScript? — chapter I

Tiago Alves
Aug 12, 2017 · 4 min read
Image for post
Image for post

UPDATE 07-03-2018: Now there is a chapter II of this article! Make sure you check it out after reading this one.

Vue.js is a great framework! It has a friendly learning curve and combines the best of React’s component approach and Angular’s templates. Despite all this, Vue.js still has a limitation that could be a deal breaker: unlike with React’s React Native, Vue.js currently has no stable, widely adopted way to develop native apps.

This is bound to change, though! There are currently two frameworks under development that could open the door to creating native apps with Vue.js, the framework we all love and cherish: Weex and NativeScript. In this article we will compare both frameworks and give you enough of a taste to at least try one of them!


Weex is a project created by the chinese e-commerce giant Alibaba. Its slogan is "Write once, run Everywhere", meaning that you can produce builds for web (html5), Android and iOS from the exact same codebase. There are several Weex projects currently in production, in the hands of probably millions of users in China. The core of Weex is in active development with PRs coming every week. Weex has several components, plugins to interact with the native platform, and a set of tools that are still somewhat crude.

Unfortunately, Weex developers don’t see making the platform available for the open source community as a big priority. Sure you have documentation, github repos, etc., and some things are getting better now that Weex is under the Apache Incubator (ASF). But… there is still no clear way to build a Weex project from scratch without a considerable amount of hacking on the native code. Also, forget talking in English in the official gitter channel


In April, Igor Randjelovic opened up the possibility to use Vue with NativeScript. nativescript-vue is a NativeScript plugin that bridges the gap between Vue.js virtual DOM and NativeScript components, allowing you to build cross-platform apps with Vue.js. Although the project is still in early stages and not suitable for production apps, it has lots of potential because it leverages the NativeScript framework with all of its tools and huge inventory of components and plugins. With webpack, you can even use .vue single file components (see this template).

The community is great and very well tendered! If you join the official slack you will find lots of friendly people willing to help, including NativeScript core team developers, nativescript-vue creator, and other folks involved on the project. There are lots of people wanting nativescript-vue to work!

Summary of Pros and Cons

Summing up the pros and cons of each framework, we have:

👍 In production (although, only in China);
👍 Builds for Web, Android and iOS;
👎 Bad community;
👎 Crude tools;
👎 No clear path to start a project;

👍 Awesome community!
👍 Leverages all of NativeScript platform;
👎 Not ready for production;
👎 Builds only for Android and iOS (although there are people working on code sharing with a web build);

Final verdict

In open source projects, community trumps technology. Weex had a several months head start and is backed by a huge company, but we haven’t seen much progress in the community side of things. On the other hand, NativeScript + Vue has been getting an increasing amount of traction. Sure, there are some rough edges, but once they are cleared out we will have a solid framework to develop native apps with Vue.js.

I am betting on NativeScript!

>>>> Go to chapter II.


I have been playing with Weex for a while. I made tests, built a demo app, a walkthrough video, wrote articles, and presented about Weex in local events. Then, I boarded the nativescript-vue train! I wrote a silly app, won a contest and built a couple of templates to smooth the getting started process.


Sign up for Get Better Tech Emails via


how hackers start their afternoons. the real shit is on Take a look

By signing up, you will create a Medium account if you don’t already have one. Review our Privacy Policy for more information about our privacy practices.

Check your inbox
Medium sent you an email at to complete your subscription.

Tiago Alves

Written by

Elijah McClain, George Floyd, Eric Garner, Breonna Taylor, Ahmaud Arbery, Michael Brown, Oscar Grant, Atatiana Jefferson, Tamir Rice, Bettie Jones, Botham Jean

Tiago Alves

Written by

Elijah McClain, George Floyd, Eric Garner, Breonna Taylor, Ahmaud Arbery, Michael Brown, Oscar Grant, Atatiana Jefferson, Tamir Rice, Bettie Jones, Botham Jean

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store