Quick Setup

Make sure you are using the newest version of Nuxt and have Firebase installed in your project.

yarn add firebase # OR npm i firebase

Install the module via NPM or Yarn:

yarn add @nuxtjs/firebase # OR npm i @nuxtjs/firebase

Quick Config

Add the following to your nuxt.config.js.

See all configuration options here.

modules: [
        config: {
          apiKey: '<apiKey>',
          authDomain: '<authDomain>',
          databaseURL: '<databaseURL>',
          projectId: '<projectId>',
          storageBucket: '<storageBucket>',
          messagingSenderId: '<messagingSenderId>',
          appId: '<appId>',
          measurementId: '<measurementId>'
        services: {
          auth: true // Just as example. Can be any other service.

Quick Usage

Now you can use all Firebase services with this.$fireAuth, this.$fireStore, this.$fireMess etc. (see list here).


try {
  await this.$fireAuth.createUserWithEmailAndPassword('', 'test')
} catch (e) {

Issues, questions & requests

If you have any questions or issues, check out Discord server.