Skip to content

Example Nuxt.js app in SSR mode with Firebase authentication, firestore, deployed to Firebaes functions and hosting

License

Notifications You must be signed in to change notification settings

1919yuan/nuxt-firebase-example

Repository files navigation

nuxt-firebase-example

Example Nuxt Firebase integration in SSR mode with authentication, hosting, firestore and functions. The accompanying tutorial is here The demo website is here

Build Setup

# 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

References

About

Example Nuxt.js app in SSR mode with Firebase authentication, firestore, deployed to Firebaes functions and hosting

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages