Firebase integration for both mobile and web in ionic 4

Hi all,
My requirement is to integrate firebase in my ionic 4 application which having support for both web and mobile(Android,Ios) .I tried using following link the given link don’t have the web platform support.Is there any solution or alternate way to achieve my requirement ?.