Skip to content

batchnz/vue-firebase-starter

Repository files navigation

Vue Firebase Starter

A vue starter project, that using Firebase suite.

DEMO

  • Firebase Auth
  • Cloud Firestore
  • Firebase Storage
  • Firebase Function
  • Firebase Hosting

🚀 Quick start

  1. Install the Gatsby CLI.

    The Gatsby CLI helps you create new sites using Gatsby starters (like this one!)

    # install the Gatsby CLI globally
    npm install -g gatsby-cli
    
  2. Replace the site data.

    1. manifest.json
    2. public/index.html
    # create a new Gatsby site using the starter
    gatsby new my-project https://github.com/batchnz/gatsby-starter-prismic

Project setup

yarn install
firebase deploy --only hosting

Add staging site

Adding alias to the default(production) project.

  1. Manually setup environment, or call it adding alias cat .firebaserc

  2. Using firebase-cli

# Add staging project
firebase use --add

# Switching Project
firebase use default
firebase use staging

Compiles and hot-reloads for development

yarn serve

Compiles and minifies for production

yarn build

Run your tests

yarn test

Lints and fixes files

yarn lint

Run your unit tests

yarn test:unit

Customize configuration

See Configuration Reference.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published