This page is archived and might not reflect the latest version of the FlutterFire plugins. With the latest plugins, manual installation is not required. You can find the latest information on firebase.google.com:
#Add Firebase SDKs
The only way to currently add the Firebase SDKs to your Flutter web project is by importing the scripts from the
Firebase content delivery network (CDN). Add the
firebase-app.js script to your
For more information on setting Firebase up for the web, view the official documentation.
The next step is to initialize Firebase using your project configuration. Create a new web app (or choose an existing one) on the Firebase Console and copy the configuration details.
Initialize Firebase using these configuration details, placing the following script below the CDN imports added above: