: Now there is a of this article! Make sure you check it out after reading this one. UPDATE 07-03-2018 chapter II 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 , Vue.js currently has no stable, widely adopted way to develop native apps. Vue.js React Native 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: and . In this article we will compare both frameworks and give you enough of a taste to at least try one of them! Weex NativeScript 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. Weex Unfortunately, Weex developers don’t see making the platform available for the open source community as a big priority. Sure you have , 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 … documentation official gitter channel NativeScript In April, the possibility to use Vue with NativeScript. 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 . With webpack, you can even use single file components (see ). Igor Randjelovic opened up [nativescript-vue](https://github.com/rigor789/nativescript-vue) plugins .vue this template The community is great and ! If you join the you will find lots of friendly people willing to help, including NativeScript core team developers, creator, and other folks involved on the project. There are lots of people wanting to work! very well tendered official slack nativescript-vue nativescript-vue Summary of Pros and Cons Summing up the pros and cons of each framework, we have: Weex : 👍 In production (although, only in China);👍 Builds for Web, Android and iOS;👎 Bad community;👎 Crude tools;👎 No clear path to start a project; nativescript-vue: 👍 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, 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. NativeScript + Vue I am betting on ! NativeScript >>>> Go to . NEXT: chapter II Links Weex: Official website: http://weex.incubator.apache.org/ Weex How-to: https://hackernoon.com/how-to-create-a-weex-vue2-project-6b94981bee4e Demo To-Do app made with Weex: https://github.com/tralves/weex-todo-list NativeScript + Vue.js: : nativescript-vue https://github.com/rigor789/nativescript-vue Article about : nativescript-vue https://www.nativescript.org/blog/a-new-vue-for-nativescript NativeScript slack channel: http://developer.telerik.com/wp-login.php?action=slack-invitation NS + Vue template: https://github.com/tralves/nativescript-vue-template NS + Vue template with webpack (ready for single file components): .vue https://github.com/tralves/nativescript-vue-webpack-template Hmm… how do you know all this stuff? I have been playing with Weex for a while. I , built a , a , , and in . Then, I boarded the train! I wrote a , and built a of to smooth the getting started process. made tests demo app walkthrough video wrote articles presented about Weex local events nativescript-vue silly app won a contest couple templates
Share Your Thoughts