How to integrate firebase in Nrwl Nx
Asked Answered
A

2

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.

Agathaagathe answered 13/12, 2017 at 6:13 Comment(0)
U
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

Upcoming answered 20/10, 2018 at 11:47 Comment(0)
L
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.

Ladner answered 28/11, 2022 at 15:5 Comment(1)
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 workFar

© 2022 - 2024 — McMap. All rights reserved.