Nuxt, Vuetify, Firebase Template for SSR. Contains pre-wired User [Store, Authorization, Roles]
# install dependencies
$ npm run install
$ cd functions
$ npm run install
# serve with hot reload at localhost:3000
$ npm run dev
# build for production and deploy to firebase
$ npm run prep
$ firebase deploy
revise
.firebaserc
with your project id
add firebase config object to
src/services/fireInit.js
add a
.env
file in thesrc/
directory
edit
nuxt.config.js
atsitemap.hostname
with your hostname
Note: functions/package.json
needs to have the same dependencies as the main project's package.json
file, otherwise SSR is unable to perform its role.
Warning: Only use firebase deploy
from the top level directory. Attempting to deploy from /functions
, or other paths results in a 404 error.
For the auth
package to work, enable email/password
authentication at https://console.firebase.google.com/
for your project.