Deploing a Vue.js App with Firebase Hosting
firebase init
Firebase Hosting is a great solution to use in Vue.js projects with the rise of front-end JavaScript frameworks. It is easy to use and implement, secure and you can even deploy files from local directories on your computer to your Hosting server. Firebase Hosting provides fast and secure static hosting for your web app.
In case you have your app ready for production check this short tutorial by Shayne O'Sullivan, to help yourself deploy your app with Firebase Hosting.
The first step you should take is to install the firebase-tools using npm install -g firebase-tools
then change to your project's root directory
and get your app ready for production.
Initiate Firebase using firebase init
Then you have to select a hosting option, and the firebase project. You also must configure your firebase.json
file to point to your dist
folder.
A short and sweet guide
The article Deploy a Vue.js App with Firebase Hosting was created and submitted by Shayne O'Sullivan, and is available here.