Sébastien Letélié

Results 7 comments of Sébastien Letélié

I finally use this way which work fine : create a firebase.js file in src/ ``` import firebase from "firebase/app"; import 'firebase/firestore'; import 'firebase/auth'; import 'firebase/performance'; import 'firebase/analytics'; const firebaseConfig...

@alfrednerstu if you want to use `onMount()` just call window.firebase `onMount(() => { window.firebase.... }) ` if you want to use `this.fetch` in the `preload` function, you have to create...

@alfrednerstu no, because you can't compile ssr with firebase libs, so it depends of my needs, for authentication and when user is connected I use client side firebase call, when...

> @sebmade would you be willing to provide some example code similar to @pjarnfelt post from Jan 16? Thanks Hello @vc-ca, The code in https://github.com/codediodeio/sveltefire/issues/4#issuecomment-662580999 not suits you ?

@makeitTim Firebase works with Sapper, I've already deploy a complete application using firestore, storage, stripe ... The problem is during the compilation phase. I don't know why but referencing firebase...

@makeitTim yes I use firebase hosting, I don't try to use @google-cloud/firestore api independently I don't use sveltefire finally

I finally use another way with a combination of svelte / vite / CRX vite plugin started with this [boilerplate](https://github.com/NekitCorp/chrome-extension-svelte-typescript-boilerplate). It works fine. Could we imaginate a sveltekit adapter reading...