-
Notifications
You must be signed in to change notification settings - Fork 309
How do I make authentication appear with this example code for web? #31
Comments
hey @patelneel1994 Do you have any errors in the JS Console? What steps have you skipped? FYI you should just have skipped Step 2 and 3 of Create Firebase Project in the README.md |
Thank you for quick reply @nicolasgarnier I did skip step 2 and 3. I basically copied the header what was provided in Firebase console for web version and put it in index.html and then deployed it. It does deploy with security and storage rules. When I open the given hosted link it works fine. It opens up the page, but it doesn't have those sign in link! I can provide screenshot if you like! Errors: The stylesheet https://fir-test-6d3dd.firebaseapp.com/bower_components/material-design-lite/material.min.css was not loaded because its MIME type, "text/html", is not "text/css". fir-test-6d3dd.firebaseapp.com |
Ok it seeems the error happened because the scripts did not compile. Before deploying can you make sure you ran 'npm run build' ? |
You can refer to this issue: #22 |
Have you ran |
I don't really want to include Google or Facebook sign in. I just wanted to test it with "skip sign in", but it didn't show. Since I don't want to set up Google and Facebook sign in I am not updating the stuff that I have to do with those two. Is there anything I have to do to make "skip sign in" appear? I deployed it locally and tried to access http://localhost:5000/feed but didn't work.
The text was updated successfully, but these errors were encountered: