How to import Firebase with JavaScript modules - Firecasts

preview_player
Показать описание
If your interested in learning how to import Firebase the right way, then you’ve come to the right place! Watch to follow along with David East as he covers importing the base Firebase app library, importing features such as Firestore or Cloud Storage, and also touches on importing the right types for TypeScript developers.

Let us know what you would like us to cover in the comments below!

Рекомендации по теме
Комментарии
Автор

Thanks David for the insight into the import techniques. I would really appreciate if you could do a tutorial on webpack from scratch with typescript and JavaScript

theindianguy
Автор

Just a quick tip. If you add true" to your tsconfig.json, you can use "import firebase from 'firebase'".

DzulqarnainNasir
Автор

Did you ever do the Firebase and webpack from scratch video?

joshuajaydan
Автор

I'm having this issue " Module not found: Can't resolve 'firebase/app' " can someone resolve this?

anasmehmood
Автор

I use firebase functions, I would love to see a video describing how to import the correct packages and types in typescript on the server.
I found it hard to know if I should import the @google-cloud/firestore or use firebase-admin or firebase-functions imports to get at storage, firestore and more.

LeonRadley
Автор

A much needed clarification on imports. Thanks!

FahadShah
Автор

Keep making this videos, they are really helpful

PlayerRPG
Автор

Has the webpack video been released? Couldn't find it on Firebase channel

fabiomoggi
Автор

Using import 'firebase/<package>' gives me lint error: "import with explicit side-effect (no-import-side-effect)"

boon_keng
Автор

I know this is an old video, but looking at this, it appears you're having the same thing I have where the webpack bundle ends up being very large. Is there any way around that?

gFamWeb
Автор

Please make some video regarding Timestamp class :)

boon_keng
Автор

Can you guys do some demos with other module bundlers like Parcel?

KevinSheppard
Автор

Why not use named imports from the root namespace, and tree shakes the rest of modules?

alexnezhynsky
Автор

How to use variables created on index.js on another jasvacript file ?

amelouferhat
Автор

I just recive this error when bundle it: Module not found: Error: Can't resolve 'firebase-app' in "my project path"

CDRT
Автор

What about AngularFire?

The doc is importing from 'firebase' instead of 'firebase/app':

FelixHalim
Автор

Add Vue js support officially to firebase, , plz

kumarvishalben
Автор

i would love to have a javascript (w/o typescript =X)(babel) video from scatch.

kyouichilogpose
Автор

It would be better if there is a video webpack with firebase

murugans
Автор

Can you use Firebase inside a ServiceWorker?

KnightG
visit shbcf.ru