nuxt-community / firebase-module

🔥 Easily integrate Firebase into your Nuxt project. 🔥
https://firebase.nuxtjs.org
MIT License
641 stars 98 forks source link

[STICKY] Documentation / Tutorials / Examples #380

Open lupas opened 3 years ago

lupas commented 3 years ago

Sticky issue to collect unclear things that either need to be documented better, need examples or could need a tutorial.

Feel free to add a comment on what you are struggling with in regards to this module and I will think about writing a tutorial for it.

Tutorials

Examples

empty

Documentation improvements

empty

sugoidesune commented 3 years ago

I am currently working on generating dynamic routes and providing payloads within the nuxt generate hooks. If it wasnt for your bug fix of the generate timeout I would have done it through seperate imports and configs.

I think an explanation and example on how to work with the existing firebase session from within generate hooks would be useful to many.

I also added a feature request / idea how to make firebase accessible for all hooks. https://github.com/nuxt-community/firebase-module/issues/93#issuecomment-725086406

I can post my routes generation and payload code when I figured it out. I think unfortunately it will have to be in different hooks and cant be done in just the generate:before hook.

rolandszpond commented 3 years ago

I'm trying to figure out a solution to integrate this package on Custom API endpoints to authenticate users on api routes. Looks like there was an issue created, but then closed #9

AdrianoCahete commented 3 years ago

A small one: use examples with npm too, instead of just with yarn.

erikClevenger commented 3 years ago

A small one: use examples with npm too, instead of just with yarn.

@AdrianoCahete You can switch to npm examples on the top left of the example itself.

npm

AdrianoCahete commented 3 years ago

You can switch to npm examples on the top left of the example itself.

For some strange reason, this option wasn't displaying in my Edge. Restarted and now is showing... But thanks!

dosstx commented 3 years ago

+1 on the following tutorials:

simeon9696 commented 3 years ago

I am currently working on generating dynamic routes and providing payloads within the nuxt generate hooks. If it wasnt for your bug fix of the generate timeout I would have done it through seperate imports and configs.

I think an explanation and example on how to work with the existing firebase session from within generate hooks would be useful to many.

I also added a feature request / idea how to make firebase accessible for all hooks. #93 (comment)

I can post my routes generation and payload code when I figured it out. I think unfortunately it will have to be in different hooks and cant be done in just the generate:before hook.

Hi, did you ever figure out how to do the route generation?