Web App, Android app, iOS app using NativeScript, VueJS and firebase



Hi, I am a newbie on Nativescript as well as VueJS and firebase.
I had a working web application created using VueJS and Firebase.
I just want to ask if, there is a way on how I can integrate the codes from the web app to nativescript with the same VueJS code? Or Is it all different? And also, how to start it to make it cross platformed.

  1. With Web, you might have used the Firebase JavaScript / Vue library. But when it’s mobile, we have the native libraries which are interfaced to JavaScript by nativescript-plugin-firebase.
  2. You might have to write a wrapper that maps your Web APIs to the native plugin, so you may able to reuse the code in your native app.