mirror of
https://github.com/zhigang1992/reactfire.git
synced 2026-01-12 22:51:28 +08:00
Fixed some docs typos and updated examples Firebase project (#97)
This commit is contained in:
@@ -112,4 +112,4 @@ example, if we no longer want `this.state.items` to be bound to node, we can cal
|
||||
|
||||
This was just a quick run through of the basics of ReactFire. For a more in-depth explanation of how
|
||||
to use ReactFire, [check out the ReactFire guide](guide.md) or dig right into the
|
||||
[ReactFire APIreference](reference.md).
|
||||
[ReactFire API reference](reference.md).
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# API Reference | GeoFire
|
||||
# API Reference | ReactFire
|
||||
|
||||
|
||||
## Table of Contents
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
var config = {
|
||||
apiKey: 'AIzaSyD6NMVI9vCk3-VzXY5k_mRLSZS8waWZFjA',
|
||||
authDomain: 'reactfire-bbede.firebaseapp.com',
|
||||
databaseURL: 'https://reactfire-bbede.firebaseio.com',
|
||||
storageBucket: 'reactfire-bbede.appspot.com',
|
||||
apiKey: "AIzaSyCdxGmqWURL8YUfGPK3OVANsyvsE0cHV5s",
|
||||
authDomain: "reactfiretodoapp.firebaseapp.com",
|
||||
databaseURL: "https://reactfiretodoapp.firebaseio.com"
|
||||
};
|
||||
firebase.initializeApp(config);
|
||||
|
||||
|
||||
5
examples/todoApp/.firebaserc
Normal file
5
examples/todoApp/.firebaserc
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"projects": {
|
||||
"default": "reactfiretodoapp"
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,10 @@
|
||||
{
|
||||
"firebase": "reactfiretodoapp",
|
||||
"public": "."
|
||||
"hosting": {
|
||||
"public": ".",
|
||||
"ignore": [
|
||||
"firebase.json",
|
||||
"**/.*",
|
||||
"**/node_modules/**"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,10 +19,9 @@
|
||||
<!-- Initialize the Firebase SDK -->
|
||||
<script>
|
||||
var config = {
|
||||
apiKey: "AIzaSyD6NMVI9vCk3-VzXY5k_mRLSZS8waWZFjA",
|
||||
authDomain: "reactfire-bbede.firebaseapp.com",
|
||||
databaseURL: "https://reactfire-bbede.firebaseio.com",
|
||||
storageBucket: "reactfire-bbede.appspot.com",
|
||||
apiKey: "AIzaSyCdxGmqWURL8YUfGPK3OVANsyvsE0cHV5s",
|
||||
authDomain: "reactfiretodoapp.firebaseapp.com",
|
||||
databaseURL: "https://reactfiretodoapp.firebaseio.com"
|
||||
};
|
||||
firebase.initializeApp(config);
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user