nuxt-ssr-firebase
nuxt-ssr-firebase copied to clipboard
Error when adding firebase Auth
I tried to "merge" this example with your other example using Firebase Auth, but I keep getting the error:
The XMLHttpRequest compatibility library was not found.
This error happens on server render, only when I import Auth to the vuex store. Any idea on how to solve it? thanks!
I also have the same isssue with nuxt universal config. When i use express instead of nuxt as default server am able to solve this by adding the XMLHttpRequest compatibility module to the server/index.js
global.XMLHttpRequest = require('xmlhttprequest').XMLHttpRequest
but using nuxt as default the same problem appear
no one else ....?