A vue starter project, that using Firebase suite.
- Firebase Auth
- Cloud Firestore
- Firebase Storage
- Firebase Function
- Firebase Hosting
-
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
-
Replace the site data.
manifest.json
public/index.html
# create a new Gatsby site using the starter gatsby new my-project https://github.com/batchnz/gatsby-starter-prismic
yarn install
firebase deploy --only hosting
Adding alias to the default(production) project.
-
Manually setup environment, or call it adding alias
cat .firebaserc
-
Using firebase-cli
# Add staging project
firebase use --add
# Switching Project
firebase use default
firebase use staging
yarn serve
yarn build
yarn test
yarn lint
yarn test:unit