FIREBASE FATAL ERROR: Can't determine Firebase Database URL. Be sure to include databaseURL option when calling firebase.initializeApp().
これはおそらく、
firebase.initializeApp( { apiKey: process.env.APIKEY, authDomain: process.env.AUTHDOMAIN, databaseURL: process.env.DATABASEURL, projectId: process.env.PROJECTID, storageBucket: process.env.STORAGEBUCKET, messagingSenderId: process.env.MESSAGINGSENDERID } )
nuxt.config.js
とか。
config.plugins.push( new webpack.EnvironmentPlugin(['APIKEY', 'AUTHDOMAIN', 'DATABASEURL', 'PROJECTID', 'STORAGEBUCKET', 'MESSAGINGSENDERID']) )