angularfire icon indicating copy to clipboard operation
angularfire copied to clipboard

Is the installation tutorial updated?

Open ix-xerri opened this issue 10 years ago • 28 comments

Hi, I've been trying to get angular fire working but unsuccessful. Is https://github.com/angular/angularfire2/blob/master/docs/1-install-and-setup.md up to date?

I'm trying to use angularfire but can't seem to make it work. I'm using your tutorial and angular-cli.

Also the item shown https://www.youtube.com/watch?v=LdDwbIEpT4s are different. How can firebase init be run? What do I need to install?

ix-xerri avatar Sep 08 '16 17:09 ix-xerri

It seems like its working. Thank you. Can you include a Firebase example of the data you need with this tutorial to have some text load on the page?

ix-xerri avatar Sep 18 '16 18:09 ix-xerri

You can have "items" as your root in your firebase console and then can have "item1 : value1", "item2: value2". Any basic tutorial should help.

items: -- item1 : value1 -- item2 : value2

mukesh51 avatar Sep 18 '16 19:09 mukesh51

everything works...thanks

ix-xerri avatar Sep 18 '16 19:09 ix-xerri

yep @mukesh51 can confirm everything works now. thanks.

Just as a side note, being new to Angular 2 and following tutorials, wondering why you need to take moduleId away, is this a bug needing to be fixed or can't angular fire routines be used in a component where moduleId is needed. Any help on that would be appreciated.

iamgmd avatar Sep 19 '16 07:09 iamgmd

@iamgmd Hope this helps Module.Id

mukesh51 avatar Sep 19 '16 07:09 mukesh51

@mukesh51 Perfect, thank you. I am using latest tools and cli with webpack so understand it's not needed.

iamgmd avatar Sep 19 '16 08:09 iamgmd

Just as a side note, being new to Angular 2 and following tutorials, wondering why you need to take moduleId away, is this a bug needing to be fixed or can't angular fire routines be used in a component where moduleId is needed. Any help on that would be appreciated.

Yep, webpack is a very recent addition to AngularFire2. Just a little bit of cleanup to do here. Gotta love betas!

At this point I'm going to close out this compendium of install issues. If any of these are unresolved please file them as their own topic (please search first to avoid dups).

katowulf avatar Sep 19 '16 15:09 katowulf

Great work @mukesh51 and thanks for the contributions!

katowulf avatar Sep 19 '16 15:09 katowulf