Example Nuxt Firebase integration in SSR mode with authentication, hosting, firestore and functions. The accompanying tutorial is here The demo website is here
# install dependencies
$ yarn install && yarn --cwd functions install
# predeploy for development environment
$ yarn preparedev
# predeploy for production environment
$ yarn prepareprd
# serve with hot reload at localhost:8080
$ yarn dev
# build for production and launch Firebase hosting at localhost:5000
# Firebase functions at localhost:5001
$ yarn build
$ yarn ssr
# deploy to development Firebase project
$ yarn stage
# deploy to production Firebase project
$ yarn deploy
# clean up repo
$ yarn clean
-
Using Firebase Authentication in a Nuxt Server-side Rendered Application This repo is mostly an example repo for this article, where Austin didn't publish one. Thanks for the code and tutorial, Austin!
-
How to host Nuxt.js application on firebase with a single command