This component set up the default firebase configuration for your Firebase project. You no longer need to configure the firebase app manually inside a firebase/polymer project.
You need to deploy your app on Firebase Hosting
- Install dependencies
$ bower i --save firebase/polymerfire
$ bower i --save FabricElements/polymerfire-config
- Require the element only one time in your entire project. You can use your
entry point
(index.html) orapp shell
(my-app.html)
<link rel="import" href="/bower_components/polymerfire-config/polymerfire-config.html">
Use firebase instead of polymer for serving the app
$ firebase serve
You need to change the current firebase project on you shell like this:
$ firebase use [alias_or_project_id]
Run the server again and the configuration will take effect.