News

Introducing Vue Native for building native mobile apps with Vue.js

2 min read

If Vue.js is the Javascript framework of your choice, you will definitely enjoy Vue Native. Developed by Geeky Ants, Vue Native can help you build powerful native mobile apps using JavaScript and Vue.js.

It is designed to connect React Native and Vue.js, making app development simpler. It has gained quite some popularity with already 2500+ starts on Github, since its official announcement, a few days ago. It was originally started by SmallComfort as react-vue which transpiles Vue files to React & React Native Components. GeekyAnts forked it later.

It brings the goodness of Vue ecosystem to native mobile app development such as support for templating, styling, state-management with Vuex and router makes. More distinctive features include declarative rendering, two-way binding, and completeness of React Native ecosystem.

How does it work

Vue Native transpiles to React Native. React Native is a framework to build native Android and iOS apps using JavaScript. The Vue Native CLI is used to generate a Vue Native app, which is a React Native API wrapper. It generates a simple single page application (SPA) using create-react-native-app and vue-native-core.

React Native is a direct dependency of Vue Native. Once you initialize a new app using vue-native-cli, the entry script is App.vue. You can use:

How to get started

The first step is to install React Native on your system. Next, install the Vue Native CLI on your system using npm.

$ npm install -g vue-native-cli

Now all you need to do is initialize a new Vue-Native project directory in your system.

You can now run this app on an iOS or Android Simulator using the npm run command.

The installation guide contains the full list of features along with details to get started and code examples. Vue Native is open source; you can find it on GitHub.

Read Next

Why has Vue.js become so popular?
Vue.js developer special: What we learnt from VUECONF.US 2018
Testing Single Page Applications (SPAs) using Vue.js developer tools

Sugandha Lahoti

Content Marketing Editor at Packt Hub. I blog about new and upcoming tech trends ranging from Data science, Web development, Programming, Cloud & Networking, IoT, Security and Game development.

Share
Published by
Sugandha Lahoti

Recent Posts

Top life hacks for prepping for your IT certification exam

I remember deciding to pursue my first IT certification, the CompTIA A+. I had signed…

3 years ago

Learn Transformers for Natural Language Processing with Denis Rothman

Key takeaways The transformer architecture has proved to be revolutionary in outperforming the classical RNN…

3 years ago

Learning Essential Linux Commands for Navigating the Shell Effectively

Once we learn how to deploy an Ubuntu server, how to manage users, and how…

3 years ago

Clean Coding in Python with Mariano Anaya

Key-takeaways:   Clean code isn’t just a nice thing to have or a luxury in software projects; it's a necessity. If we…

3 years ago

Exploring Forms in Angular – types, benefits and differences   

While developing a web application, or setting dynamic pages and meta tags we need to deal with…

3 years ago

Gain Practical Expertise with the Latest Edition of Software Architecture with C# 9 and .NET 5

Software architecture is one of the most discussed topics in the software industry today, and…

3 years ago