14

I'd really like to integrate firebase as well as firebase cli to my apps in Nx but don't know how. I use firebase functions/hosting/cli-tools, etc. Ideally I'd like to be able to use the firebase cli to deploy individual apps for hosting and cloud functions, rules, etc.

ReyAnthonyRenacia
  • 17,219
  • 5
  • 37
  • 56
tommyc38
  • 703
  • 1
  • 8
  • 21

2 Answers2

5

I have stumbled on the same problem and created discussion on their github repository. Feel free to join: https://github.com/nrwl/nx/issues/836

Bielik
  • 922
  • 2
  • 14
  • 25
2

to work with angular & firebase, I suggest using The official Angular library for Firebase "@angular/fire".

https://github.com/angular/angularfire

--

I already successfully setup nx + angular + firebase. (ps. with only one app in nx monorepo)

details and pictures can be found here:

https://blog-host-d6b29.web.app/2022/11/27/nx-angular-fire.html

I suggest you also try to setup a new nx + angular workspace, walk through my steps and see how it works.

Luke Chi
  • 91
  • 4
  • have you tried to run emulators with this set up. I have a project set up the same way but cant get the emulators to work – J King Jan 28 '23 at 19:26