Skip to content

This template allows you to create a Vue SPA application that is deployed to Hosting and also deploy an Express application to Cloud Functions.

Notifications You must be signed in to change notification settings

trizotti/vue-firebase-express

Repository files navigation

Vue SPA + Firebase with Express

This template allows you to create a Vue SPA application that is deployed to Hosting and also deploy an Express application to Cloud Functions.

Setup

You need to install the Firebase CLI and also be logged in. Then you need to insert your project ID into the '.firebaserc' file. The next step is to run the following command:

npm run setup

Development

npm run dev

If Firebase CLI does not recognize your project setup, just run the following command:

firebase use <YOUR-PROJECT-ID>

Using the API

To get the API base URL just use the 'useApiBaseUrl' composable to get a baseUrl string.

Deploy

npm run deploy

About

This template allows you to create a Vue SPA application that is deployed to Hosting and also deploy an Express application to Cloud Functions.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published