nuxt firebase functions ssr example

[ WIP ] This repository shows us how to use firebase functions for nuxt.js server side rendering.

nuxt-firebase-ssr

Nuxt.js project

@Root directory.

yarn generate
yarn build
yarn package-functions
firebase serve --only functions,hosting

Build Setup

# install dependencies
$ npm install # Or yarn install

# serve with hot reload at localhost:3000
$ npm run dev

# build for production and launch server
$ npm run build
$ npm start

# generate static project
$ npm run generate

For detailed explanation on how things work, checkout the Nuxt.js docs.