diff --git a/CHANGELOG.md b/CHANGELOG.md index e69de29b..13244043 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -0,0 +1 @@ +* Now using Firebase v9/compat \ No newline at end of file diff --git a/README.md b/README.md index 8c681cab..ebd1fcfa 100644 --- a/README.md +++ b/README.md @@ -91,28 +91,17 @@ Install FirebaseUI and its peer-dependency Firebase via npm using the following commands: ```bash -$ npm install firebase --save -$ npm install firebaseui --save +$ npm install firebase firebaseui --save ``` -You can then `require` the following modules within your source files: +You can then `import` the following modules within your source files: ```javascript -var firebase = require('firebase'); -var firebaseui = require('firebaseui'); -// or using ES6 imports: +import firebase from 'firebase/compat/app'; import * as firebaseui from 'firebaseui' import 'firebaseui/dist/firebaseui.css' ``` -Or include the required files in your HTML, if your HTTP Server serves the files -within `node_modules/`: - -```html - - -``` - ### Option 3: Bower component Install FirebaseUI and its dependencies via Bower using the following command: @@ -193,11 +182,11 @@ for a more in-depth example, showcasing a Single Page Application mode. Sample FirebaseUI App + + @@ -268,6 +257,8 @@ Here is how you would track the Auth state across all your pages: Sample FirebaseUI App + +