Skip to content

Commit 6dbe7a8

Browse files
authored
Update getting-started.md (#1601)
When following the documentation to try and implement Firebase for a Nuxt project I stumbled on a typo where the import for a database reference was a written as `import { getDatabase, dbRef } from 'firebase/database'` as opposed to `import { getDatabase, ref as dbRef } from 'firebase/database'` as the rest of the document
1 parent b32fa09 commit 6dbe7a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: docs/guide/getting-started.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Most of the time, you should gather collection references in one of your files a
3838

3939
```js
4040
import { initializeApp } from 'firebase/app'
41-
import { getDatabase, dbRef } from 'firebase/database'
41+
import { getDatabase, ref as dbRef } from 'firebase/database'
4242
// ... other firebase imports
4343

4444
export const firebaseApp = initializeApp({

0 commit comments

Comments
 (0)