问题
I'm using Angular 9 Universal + Firebase. When I use command npm run build:ssr
I've got one extra file in my dist folder. The file is dist/server/vendors~firebase-auth.js
. I don't know what does this file do and why I have it but every time when I open my application from incognito window I have to log in via Google or I can't see the page.
Versions:
- "@angular/cdk": "^9.2.1"
- "firebase": "^7.14.1"
- "@angular/fire": "^6.0.0"
I use this answer to deploy my app. When I inter gmail and password I get this error.
来源:https://stackoverflow.com/questions/61307423/i-have-to-log-in-to-view-the-page-angular-9-universal-firebase